Re: [R] Successive Graphs

From: Berton Gunter <gunter.berton_at_gene.com>
Date: Mon 11 Sep 2006 - 23:16:14 GMT


... or use lattice and splom() instead. If the successive graphs bear some relationship to each other, this might produce a more useful display, too.

"The business of the statistician is to catalyze the scientific learning process." - George E. P. Box    

> -----Original Message-----
> From: r-help-bounces@stat.math.ethz.ch
> [mailto:r-help-bounces@stat.math.ethz.ch] On Behalf Of Michael Prager
> Sent: Monday, September 11, 2006 2:38 PM
> To: r-help@stat.math.ethz.ch
> Subject: Re: [R] Successive Graphs
>
> Paternostro.Amy@epamail.epa.gov wrote:
>
> > Hello! I have written an R script on a Windows platform where I
> > calculate eight result matrices I plot using matplot. I
> would like to
> > display the resulting plots successively, rather than
> simultaneously,
> > and I was wondering if anyone could point me in the right
> direction as
> > to how to do this. The graphs pop up in this manner by
> default when I
> > run my script in S-PLUS, with tabs separating them so I can
> view each
> > graph at my leisure. However when I run my script in R,
> each graph pops
> > up only for a moment before it is replaced by the next
> until I am left
> > with only the plot of the eighth matrix at the end of the
> script. Thanks
> > in advance for your help!
>
> Others have pointed out the R plot history mechanism, which is
> very nice. A few additions.
>
> If you are re-running the script often and want to get rid of
> old windows, you can put near the top of your script
>
> graphics.off()
>
> You can open a graphics window -- with history enabled -- with
>
> windows(record=TRUE)
>
> Plot history is saved. If desired, you can clear the old
> history before making new plots with
>
> .SavedPlots <- NULL
>
>
> Mike Prager
> Southeast Fisheries Science Center, NOAA
> Beaufort, North Carolina USA
>
> ______________________________________________
> 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
> and provide commented, minimal, self-contained, reproducible code.
>



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 and provide commented, minimal, self-contained, reproducible code. Received on Tue Sep 12 18:09:16 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 12 Sep 2006 - 08:30:05 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.