Message-ID: <3EF94C05.9080303@statistik.uni-dortmund.de>
Date: 2003-06-25T07:15:17Z
From: Uwe Ligges
Subject: ?plot problem
In-Reply-To: <940250A9EB37A24CBE28D858EF07774967A95D@ws-bco-mse3.milky-way.battelle.org>
Paul, David A wrote:
> Thanks to Dr. Thomas Hotz, Prof. Brian Ripley, Dr. Dennis
> Murphy, and Dr. David Scott for their replies.
>
> Trying an idea:
>
>
>>x <- c(1,2,3,4)
>>y<-c(2,4.2,5.9,9)
>>temp<-data.frame(cbind(x,y))
>>attach(temp)
>>temp.lm <- lm(y~x)
>>windows()
>>plot(temp.lm)
>
> Hit <Return> to see next plot:
> Hit <Return> to see next plot:
> Hit <Return> to see next plot:
> Hit <Return> to see next plot:
>
>>dev.off()
>>windows()
>
>
> 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:
>
>
>>windows()
>>plot(temp.lm)
>
> 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?
>
>
See ?recordPlot
Uwe Ligges