[R] multiple plots problem

Oleg Bartunov oleg at sai.msu.su
Thu Apr 1 15:48:11 CEST 2004

On Thu, 1 Apr 2004, Duncan Murdoch wrote:

> On Thu, 1 Apr 2004 15:38:54 +0400 (MSD), Oleg Bartunov
> <oleg at sai.msu.su> wrote :
> >Hello,
> >
> >for testing & learning purposes I create X11 device and specify layout like
> >layout(c(1,2,3), 3, 1), so I could play with parameters and see
> >several plots at the same time. That works fine until I try to create 4-th
> >plot - all other plots erased. Such behaviour isn't desirable for testing
> >purposes and I'm asking  where to look to disable erasing other plots.
> In Windows you can record all plots by using the record=TRUE option
> when you open the graphics display, or from the menu on the display
> window.  You cycle back through the history by hitting the PgUp key.
> You're using X11, so you might need to save your plots explicitly
> using recordPlot() and then use replayPlot() to see it again (but your
> front-end might provide access to them more easily, the way Windows
> does).

Thanks, looks like too much work :( I just don't understand a logic
why I can't recycle canvas.

> Duncan Murdoch

Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg at sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

More information about the R-help mailing list