Re: [R] How to change min and max of plot axis

2008-06-21 Thread Marc Schwartz
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)

Re: [R] How to change min and max of plot axis

2008-06-21 Thread Duncan Murdoch
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