[R] axis labels vertically

Uwe Ligges ligges at statistik.uni-dortmund.de
Fri Jun 17 12:44:21 CEST 2005


BoM DS wrote:

> Hi,
> 
> I have a plot and a custom axis labeling, e.g.
> 
>   x<-c(...) 
>   plot(x,axes=FALSE)
>   axis(2)
>   axis(1,1:50,c("label1",...,"label50"))
> 
> now since the labels are quite long, only a few fit on the page.
> Can I rotate each label by 90 degree counterclockwise 
> (so that they are vertical)

See ?par and its argument "las".

Uwe Ligges

> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list