# How to get individual plots in PDF

**URL:** <https://discourse.julialang.org/t/how-to-get-individual-plots-in-pdf/86415>\
**Category:** New to Julia\
**Tags:** plotting\
**Created:** [August 27, 2022, 5:00am UTC](https://discourse.julialang.org/t/how-to-get-individual-plots-in-pdf/86415 "2022-08-27T05:00:13Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![gustaphe](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gustaphe/32/18174_2.png) [@gustaphe](https://discourse.julialang.org/u/gustaphe)\
**Post date:** [August 27, 2022, 5:18am UTC](https://discourse.julialang.org/t/how-to-get-individual-plots-in-pdf/86415/2 "2022-08-27T05:18:59Z")

</div>

You got some suggestions in February. Could you expand on why those didn’t work for you?

> [@Create individual plot and save as pdf](https://discourse.julialang.org/t/create-individual-plot-and-save-as-pdf/76458):
>
> Hi … i used to use this code in r studio to generate individual plots for each id and save them as combined pdf for the offline evaluation. can someone help me to translate code to julia. pdf("path\\indplots.pdf") for(i in unique(df$ID)) { print((ggplot(subset(df,df$ID == i),aes(x=TAD,y=DV))+ geom\_point()+ xlab("TAD (hrs)")+ ylab("Plasma concentration (mg/L)")+ ggtitle(paste(as.character(i)))+ theme(panel.grid.minor=element\_blank(), …

To me it’s a bit difficult to help here, because you’re not describing clearly what you want. Do you want many pdf’s, one pdf with many pages or one pdf with one page with many plots?

---

_[View the full topic](https://discourse.julialang.org/t/how-to-get-individual-plots-in-pdf/86415)._
