Skip to content

?plot problem

3 messages · Paul, David A, Uwe Ligges, Brian Ripley

#
Thanks to Dr. Thomas Hotz, Prof. Brian Ripley, Dr. Dennis
Murphy, and Dr. David Scott for their replies.

Trying an idea:
Hit <Return> to see next plot: 
Hit <Return> to see next plot: 
Hit <Return> to see next plot: 
Hit <Return> to see next plot:
I was unable to see the Cook's distance plot as before (using
the Page Up and Page Down keys).  So I implemented another
suggestion:
Hit <Return> to see next plot: 
Hit <Return> to see next plot: 
Hit <Return> to see next plot: 
Hit <Return> to see next plot: 
[Use Menu: History|Add]

After doing this, the Cook's distance plot was "saved" so that
Page Up and Page Down worked properly.  Question:  Is there
a way to use a line command to "add" the last graph to the
history?


Much thanks again,
  david paul
#
Paul, David A wrote:

            
See ?recordPlot

Uwe Ligges
#
The critical fact here is that you called dev.off() and then re-open a
device: I don't recall that being mentioned before (and it works unless
you do that).  dev.off() does not save the current plot (it will in
1.8.0), so you need to call recordPlot()  before dev.off().

The current plot is recorded if you move away from it or start a new plot.
On Tue, 24 Jun 2003, Paul, David A wrote:

            
This is pointless: the x and y in the user's workspace are used.
Use lm(y ~ x, data=temp).
Unneeded.
call recordPlot() here