baptiste / gridExtra

Miscellaneous Functions for "Grid" Graphics
http://cran.r-project.org/web/packages/gridExtra/index.html
15 stars 4 forks source link

ggsave output from arrangeGrob with different page layouts? #28

Closed jeffwong-nflx closed 8 years ago

jeffwong-nflx commented 8 years ago

Hello, thank you for your work on this package. I am following the instructions on https://github.com/baptiste/gridextra/wiki/arrangeGrob

and am wondering if it's possible to ggsave a list of plots that have different page layouts. For example, I have a list l, with length 3 representing 3 pages.

l[[1]] is a page with a 2 x 2 layout and has 4 plots l[[2]] is 2 x 1 with 2 plots l[[3]] is only 1 x 1

Is it possible to ggsave the list l into 1 pdf file?

baptiste commented 8 years ago

closing as it's not an issue with the code (this functionality is simply not implemented), please post a question on Stack Overflow instead.