[R] Print several xyplots to the same page in a pdf file
Dieter Menne
dieter.menne at menne-biomed.de
Tue Oct 27 20:05:12 CET 2009
Joel Fürstenberg-Hägg wrote:
>
>
> I'm using the lattice package and the xyplot to make several graphs like
> below. However, I can just print the three grouped plots onto one page as
> I'm putting them into a pdf-file, which gives me a huge amount
Check the documentation and examples for print.trellis; I prefer the "split"
version, but other are possible. And do not forget that it is best to do an
explicit print.
p1 = xyplot(....)
p2 = xyplot()
print(p1,split=c(1,1,2,1))
print(p2,split=c(2,1,2,1))
Dieter
--
View this message in context: http://www.nabble.com/Print-several-xyplots-to-the-same-page-in-a-pdf-file-tp26083087p26083254.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list