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

2006-09-16 Thread Wensui Liu
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

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

2006-09-16 Thread Wensui Liu
HI, Peter, It is exactly what I want. Thank you so much! wensui On 9/16/06, Peter Konings [EMAIL PROTECTED] 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 [EMAIL PROTECTED] wrote:

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

2006-09-16 Thread David Barron
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