Re: [R] axis labels vertically

From: Uwe Ligges <ligges_at_statistik.uni-dortmund.de>
Date: Fri 17 Jun 2005 - 20:44:21 EST

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@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



R-help@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 Received on Fri Jun 17 21:22:18 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:47 EST