[R] x-axis label print in 45 degree

Marc Schwartz marc_schwartz at me.com
Thu Aug 12 21:17:12 CEST 2010


On Aug 12, 2010, at 2:14 PM, array chip wrote:

> Hi how can print x-axis labels in 45 degree in boxplot() (or plot in general)? I 
> can use las=2 to print in 90 degree, but it looks ugly. Is there a simple option 
> to do 45 degree easily?
> 
> Thanks
> 
> John


John,

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

  http://cran.r-project.org/doc/FAQ/R-FAQ.html#How-can-I-create-rotated-axis-labels_003f

HTH,

Marc Schwartz



More information about the R-help mailing list