[R] plotting a 1000 plots?
Jeff D. Hamann
jeff_hamann at hamanndonald.com
Thu May 23 00:00:51 CEST 2002
ah-ha! had I only known. I forgot to check the other devices supported.
Works like a charm on windows too! Saaaweet!
----- Original Message -----
From: "Roger Peng" <rpeng at stat.ucla.edu>
To: "Jeff D. Hamann" <jeff_hamann at hamanndonald.com>
Cc: <r-help at stat.math.ethz.ch>
Sent: Wednesday, May 22, 2002 2:30 PM
Subject: Re: [R] plotting a 1000 plots?
> I believe you can send multiple plots to a pdf file by leaving the pdf()
> device open. By default, each new plot will be put on a different page in
> the pdf file. So,
> The file 'lotsofplots.pdf' should have three pages. However, I remember
> reading on this list somewhere that there's a hard limit of 512 pages to a
> file, but I'm not 100% sure. You may have to use one or two files,
> depending on the number of datasets you're plotting. But I suppose that's
> better than 1000 files.
> UCLA Department of Statistics
> rpeng at stat.ucla.edu
> On Wed, 22 May 2002, Jeff D. Hamann wrote:
> > I would like to plot lots of plots (2x2 plots) of a set of data for many
> > sets. I can do it just fine for one set of data, but I would like to
> > generate a small mountain of plots for others to examine. Basically, I
> > like to generate the same par( mcol=c(2,2) ) plot for about 1000
> > I've been iterating through them in the plot window, but I would like to
> > send all the plots to a eps file and plot the eps file (or bring the
> > into a latex doc and generate the pdf which I can do no problem. I don't
> > knwo who many datasets I will have and may and I think I'll just have to
> > create one file for each plot into a dir and somehow bring all the plots
> > the dir into a document. Has anyone any suggestions for this task?
> > Thanks,
> > Jeff.
> > Jeff D. Hamann
> > Hamann, Donald & Associates
> > PO Box 1421
> > Corvallis, Oregon 97339
> > jeff_hamann at hamanndonald.com
> > www.hamanndonald.com
> > r-help mailing list -- Read
> > Send "info", "help", or "[un]subscribe"
> > (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help