[R] x-axis label print in 45 degree

Jim Lemon jim at bitwrit.com.au
Sun Aug 15 11:31:54 CEST 2010


On 08/13/2010 05:14 AM, 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?
>
Hi John,

Have a look at staxlab in the plotrix package, particularly the srt 
argument.

Jim



More information about the R-help mailing list