Re: [R] Successive Graphs

From: David Barron <mothsailor_at_googlemail.com>
Date: Mon 11 Sep 2006 - 20:39:54 GMT

I can think of two ways:

par(ask=TRUE)

will result in a prompt between each plot. Alternatively, turn on plot recording using the History menu in a plot window. Then you can page up and down between plots.

On 11/09/06, Paternostro.Amy@epamail.epa.gov <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!
>
> Amy Paternostro
> National Center for Environmental Economiccs
> United States Environmental Protection Agency
> 1200 Pennsylvania Avenue, NW
> Washington, DC 20460
> Paternostro.Amy@epamail.epa.gov
>
> ______________________________________________
> 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.
>

-- 
=================================
David Barron
Said Business School
University of Oxford
Park End Street
Oxford OX1 1HP

______________________________________________
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 07:53:33 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 Mon 11 Sep 2006 - 22:30:04 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.