Skip to content
Back to formatted view

Raw Message

Message-ID: <3EB928A1.5050408@statistik.uni-dortmund.de>
Date: 2003-05-07T15:39:13Z
From: Uwe Ligges
Subject: plot vertical labels along x axis
In-Reply-To: <200305070825.08169.anna@ptolemy.arc.nasa.gov>

Anna H. Pryor wrote:
> I know how to print my own labels along the x axis:
> 
> plot(1:10,xlab = "My label", axes = FALSE)
> 
> axis(1,at=seq(1,10,by=2),labels=c("first","second","third","fourth","fifth"))
> 
> 
> Is there a way to make the labels print vertically along the axis rather than 
> horizontally?  (I'm not sure if this is even going to look all right, but I 
> want to check it out if it is possible.)
> 
> Anna

See ?par, in particular its argument "las".

Uwe Ligges