[R] Multiple plots on the same pdf file

From: Juan Lewinger <lewinger_at_usc.edu>
Date: Sat 25 Feb 2006 - 06:16:55 EST


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!



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Feb 25 06:30:48 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:45 EST