Skip to content
Back to formatted view

Raw Message

Message-ID: <3A822319EB35174CA3714066D590DCD50994E2B7@usrymx25.merck.com>
Date: 2004-11-09T19:50:40Z
From: Liaw, Andy
Subject: Boxplot plot range

> From: Scott Rifkin
> 
> How can I set the plot range for a boxplot using the 
> boxplot() function?
> 
> For example, the values in the boxplot go from -3 to 3 
> (outliers plotted), 
> but I'd like the y axis to go from -5 to 5.

as in:

 boxplot(rnorm(30), ylim=c(-5, 5))

?

Andy
 
> Thanks much
> Scott dot Rifkin at yale dot edu
> 
> ______________________________________________
> 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
> 
>