Thats perfect, thank you!
On Tue, Jun 14, 2011 at 2:10 PM, baptiste auguie
wrote:
> Hi,
>
> You can draw arrangeGrob in a rotated viewport,
>
> library(gridExtra)
> library(ggplot2)
> ps = replicate(4, qplot(rnorm(10), rnorm(10)), simplify=F)
> g = gTree(children=gList(do.call(arrangeGrob, ps)),
Hi,
You can draw arrangeGrob in a rotated viewport,
library(gridExtra)
library(ggplot2)
ps = replicate(4, qplot(rnorm(10), rnorm(10)), simplify=F)
g = gTree(children=gList(do.call(arrangeGrob, ps)), vp=viewport(angle=90))
grid.draw(g)
though you get some warnings about clipping for some reason.
I apologise in advance for not providing code, but this seems like a
straight forward question...
I am making a few full page plots some of which are "portrait" and
some of which are "landscape"
I would like to open my cairo device once and put all the plots in the
same .pdf. But since some
need
3 matches
Mail list logo