Re: [R] ylim with only one value specified

2012-10-09 Thread R. Michael Weylandt
On Tue, Oct 9, 2012 at 10:28 AM, Matthias Gondan wrote: > Dear R developers, > > I would like to have R choose the limits of the y-axis semi-automatically, > e.g., zero should be included, but the maximum should be chosen depending > on the data. > > Examples: > > plot(1:10, 1:10) # selects min an

[R] ylim with only one value specified

2012-10-09 Thread Matthias Gondan
Dear R developers, I would like to have R choose the limits of the y-axis semi-automatically, e.g., zero should be included, but the maximum should be chosen depending on the data. Examples: plot(1:10, 1:10) # selects min and max automatically plot(1:10, 1:10, ylim=c(1, 10)) # manual definition