[R] Multiple xyplot on a page

Yang, Richard dyang at nrcan.gc.ca
Fri Jan 31 20:51:03 CET 2003


Many thanks to Renaud Lancelot, Andy Liaw and Deepayan Sarkar for their
prompt response to my query. They all point me to the print.trellis help
page which indeed solves my problem.

Thank all,

Richard


My original question:


 Dear all;
 
 	I have a set of 5 xyplots each with 8 panels and wish 
 to place 2 on
 a letter-sized page. I tried using pdf() to specify paper 
 size and plot
 size:
 
 >pdf(file = "fig1b.pdf", paper = "letter", onefile = FALSE, width = 5,
 height = 5,
  family="Helvetica")
 >par(mfrow=c(1,2))
 
 but it did not work. Any suggestions for placing mutiple 
 xyplots to a page?
 
 TIA,
 
 Richard




More information about the R-help mailing list