Re: [R] controlling plot range

2007-10-22 Thread Thomas Lumley
On Fri, 19 Oct 2007, John Sorkin wrote: > > As Marc points out, the documentation does say that usr can only be set > by par. Perhaps the R development team would consider modifying the code > of plot to check for the usr parameter, and if found print an error > message. Unfortunately it's not

Re: [R] controlling plot range

2007-10-19 Thread John Sorkin
plot axes." > > As James said, xlim and ylim is what you want. A more extensive discussion > and examples of the use of usr coordinates can be found in Paul Murrell's R > GRAPHICS book, pp. 99 -105. > > Bert Gunter > Genentech Nonclinical Statistics > > >

Re: [R] controlling plot range

2007-10-19 Thread Marc Schwartz
the plot axes." > > As James said, xlim and ylim is what you want. A more extensive discussion > and examples of the use of usr coordinates can be found in Paul Murrell's R > GRAPHICS book, pp. 99 -105. > > Bert Gunter > Genentech Nonclinical Statistics > >

Re: [R] controlling plot range

2007-10-19 Thread Bert Gunter
Cc: r-help@r-project.org Subject: Re: [R] controlling plot range On Oct 19, 2007, at 10:54 AM, John Sorkin wrote: > Windows XP > R 2.5.0 > I am trying to produce two plots that have the same range, i.e. x > from 50 to 400 on both plots and y from 50 to 400 on both plots. > (This w

Re: [R] controlling plot range

2007-10-19 Thread James
On Oct 19, 2007, at 10:54 AM, John Sorkin wrote: > Windows XP > R 2.5.0 > I am trying to produce two plots that have the same range, i.e. x > from 50 to 400 on both plots and y from 50 to 400 on both plots. > (This will allow me to compare slopes). I have used the code below > without succes