[R] Force boxplot y-axis to zero

Rui Barradas ruipbarradas at sapo.pt
Thu Jun 13 11:59:06 CEST 2013


Hello,

Something like this?


x <- runif(100, min = 2, max = 10)
boxplot(x, ylim = c(0, max(x)))


Hope this helps,

Rui Barradas

Em 13-06-2013 10:02, Shane Carey escreveu:
> Hi,
>
> I have a Tukey boxplot y-axis starting at 2.5, how do I force it's y-axis
> to start a t zero
>
> Thanks
>



More information about the R-help mailing list