[R] changing y-axis intervals in a boxplot

S Ellison S.Ellison at LGCGroup.com
Tue Apr 2 13:07:04 CEST 2013


 

> -----Original Message-----
> I'm a bit of a rooky in R and do not know how to change the 
> y-axis intervals of a boxplot.
> ... 
> I used the following code for producing this boxplot:
> boxplot((fitted(finalfit4) *100) ~ 
> instabilitydata2$MRI_Diag_Instab_rev, ylim=c(0,100), 
> xlab="MRA diagnosis", ylab="Predicted probability (%)")

Add yaxp=c(0,100,20) to your boxplot call.

See ?par for what this means.

S Ellison

*******************************************************************
This email and any attachments are confidential. Any use...{{dropped:8}}



More information about the R-help mailing list