[R] creating a postscript file with two xyplots

Dieter Menne dieter.menne at menne-biomed.de
Wed May 13 10:04:35 CEST 2009


Liati <liats80 <at> hotmail.com> writes:

> I would like to create one postscript file with two different xyplots (which

library(lattice)
postscript("myps.ps")
xyplot(1~1,main="Plot 1")
xyplot(2~3,main="Plot 2")
dev.off()

Dieter




More information about the R-help mailing list