[R] Multi-page plots (Trellis)

David Winsemius dwinsemius at comcast.net
Fri Feb 11 06:25:16 CET 2011


On Feb 10, 2011, at 2:39 PM, sherri heck wrote:

> Dear All -
>
> I would like to make  multi-page plots, but my plots are writing  
> over one
> another - thus leaving just the last plot.  Here is what I am doing:
>
> pollutionRose(temp, "nox", type="hour")
> update(trellis.last.object(), layout =c(3,3,3) )

update() only changes the list representation. If you want to send  
that to the active graphics device, you need to "print" it. See the  
relevant FAQ.

>
> I would like 24 plots with 9 plots/page (the last page would not  
> have 9
> plots)
>
> Is there any way to "force" layout to make 3 pages of plots but not  
> re-write
> them ?  I do not understand why "layout" is not recognizing the page  
> number
> request.  I have read several help pages/archives and cannot find  
> what I
> need.  Any help is greatly appreciated.
>
> Thanks in advance!
>
> Sherri Heck
> Graduate Research Assistant
> National Center for Atmospheric Research, Boulder CO
> University of Colorado, Boulder CO
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list