Re: [R] how to rescale the limits of yaxis rather than using the data range by default?

From: David Barron <mothsailor_at_googlemail.com>
Date: Sat 16 Sep 2006 - 21:35:03 GMT

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 <liuwensui@gmail.com> 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
>
> ______________________________________________
> R-help@stat.math.ethz.ch 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]]

______________________________________________
R-help@stat.math.ethz.ch 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.
Received on Sun Sep 17 07:47:42 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 16 Sep 2006 - 23:30:05 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.