d d sutcliffe@durham ac uk
2006-Jun-08 14:44 UTC
[R] Rotate numbers on the Y axis on a multiple Boxplot chart
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)")
Marc Schwartz (via MN)
2006-Jun-08 15:10 UTC
[R] Rotate numbers on the Y axis on a multiple Boxplot chart
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