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

Wensui Liu liuwensui at gmail.com
Sat Sep 16 23:33:20 CEST 2006


HI, Peter,

It is exactly what I want. Thank you so much!

wensui

On 9/16/06, Peter Konings <peter.l.e.konings at gmail.com> wrote:
> Hi,
>
> I'm not sure I understand your question correctly, but does the ylim option
> of plot do what you want?
>
> HTH
> Peter.
>
>
> On 9/16/06, Wensui Liu <liuwensui at 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 at 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.
>
>


-- 
WenSui Liu
(http://spaces.msn.com/statcompute/blog)
Senior Decision Support Analyst
Health Policy and Clinical Effectiveness
Cincinnati Children Hospital Medical Center



More information about the R-help mailing list