[R] Multiple plots on the same pdf file

Juan Lewinger lewinger at usc.edu
Fri Feb 24 20:16:55 CET 2006


Is there a way to output multiple plots generated with a high level plot function such as "plot()" to the same pdf file? The following does not work (in windows XP):

pdf(filename)
plot(...)                         # first plot
plot(...)                         # second plot
.....
plot(...)                         # n-th plot
dev.off()

Thanks for your help!




More information about the R-help mailing list