on 06/21/2008 10:25 AM Luis Orlindo Tedeschi wrote:
All; this might be an easy question but I cannot make it work. I would
like to set the min and max of the y axis of a plot. I know I have to
use par("usr"), but after I do the plot() the axis values get changed.
x<-rnorm(20)
Y<-x+rnorm(20,0,.1)
On 21/06/2008 11:25 AM, Luis Orlindo Tedeschi wrote:
All; this might be an easy question but I cannot make it work. I would
like to set the min and max of the y axis of a plot. I know I have to
use par("usr"), but after I do the plot() the axis values get changed.
x<-rnorm(20)
Y<-x+rnorm(20,0,.1
All; this might be an easy question but I cannot make it work. I would
like to set the min and max of the y axis of a plot. I know I have to
use par("usr"), but after I do the plot() the axis values get changed.
x<-rnorm(20)
Y<-x+rnorm(20,0,.1)
plot(y,x)
par("usr")
# let's say I have -2.8 1.15 -2
3 matches
Mail list logo