[R] Rotate numbers on the Y axis on a multiple Boxplot chart

Marc Schwartz (via MN) mschwartz at mn.rr.com
Thu Jun 8 17:10:04 CEST 2006


On Thu, 2006-06-08 at 15:44 +0100, d d sutcliffe at durham ac uk wrote:
> Hello All,
> 
> I am  trying to format a box plot chart for a report so it matches other 
> charts I have created in other software programs. My problem is that I 
> need to rotate the values on the Y axis by 45 degrees, I have tried to 
> use the  srt parameter but with no luck?
> 
> Does anybody have any suggestions?
> 
> Regards,
> 
> Daniel
> 
> My syntax is as follows:
> 
> boxplot(int~sortf,notch=TRUE,outline=FALSE,col="DarkSeaGreen4", ylab = 
> "Length of stay in days",ylim=c(0, 100),xlab="Trust (see key)")

See R FAQ 7.27 How can I create rotated axis labels?

The example there is for the x axis, but the same concept applies for y.

HTH,

Marc Schwartz



More information about the R-help mailing list