[R] Re: [Rd] Re: undocumented behaviour of recordPlot (PR#578)

Kaspar Pflugshaupt pflugshaupt at geobot.umnw.ethz.ch
Fri Jun 23 09:42:56 CEST 2000


On 23.6.2000 9:10 Uhr, guido at sirio.stat.unipd.it wrote:

> BTW, Kaspar, I have no Windows at hand in this moment but
> does the problem manifest itself also with the plot history mechanism?
> E.g., (i) if you set (with the menu) the graphics window in
> 'recording mode', (ii) make some plots , (iii) go back to the
> first plot using 'PgUp', (iv) add some new elements to it and
> (v) go to some other plot and then back to the first plot
> with 'PgDown' and 'PgUp', the first plot you get is the modified one
> or not? Reason of the question is that replayng of the saved history
> is implemented in a different way.

I tried the following:

> x11()  # and set it to "Recording" manually
> plot(1:10)
> plot(1:10, 21:30)
> plot(10:1, 21:30)

All the graphs got recorded, I browsed back to the first and did:

> abline(h=5)
> abline(h=6)

Appeared O.K. Browsed to the end of the recorded graphs & back, lines were
still there.

> abline(v=7)

Added another line to the same plot. Browsed forward & back: all still
there.

So, no problem here. (I didn't even know you could add to a previously
recorded plot. Great!)


Cheers

Kaspar

-- 

Kaspar Pflugshaupt
Geobotanisches Institut
Zuerichbergstr. 38
CH-8044 Zuerich

Tel. ++41 1 632 43 19
Fax  ++41 1 632 12 15

mailto:pflugshaupt at geobot.umnw.ethz.ch
privat:pflugshaupt at mails.ch
http://www.geobot.umnw.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 mailing list