If you look at ?plot.default you should find that the way to do this is to use the ylim argument.
On 16/09/06, Wensui Liu <[EMAIL PROTECTED]> wrote: > > Dear Lister, > > plot() is using the data range as the default limits of yaxis. Is > there any way I can change the limits? I just look at the help of > plot() and par() and couldn't find answers. > > Thanks. > > > -- > WenSui Liu > (http://spaces.msn.com/statcompute/blog) > Senior Decision Support Analyst > Health Policy and Clinical Effectiveness > Cincinnati Children Hospital Medical Center > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- ================================= David Barron Said Business School University of Oxford Park End Street Oxford OX1 1HP [[alternative HTML version deleted]] ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
