Skip to content
Back to formatted view

Raw Message

Message-ID: <FD30EBB9-585F-4F14-B758-17750870FD30@epfl.ch>
Date: 2008-11-21T10:11:29Z
From: Kjell Konis
Subject: Label justification (axis) (PR#13307)
In-Reply-To: <20081120134511.A6EC0283417B@mail.pubhealth.ku.dk>

If you want to change the orientation of the axis labels you use las.  
If you want to change the horizontal justification of the axis labels  
you use hadj. If you want to change the orientation of the axis labels  
and the horizontal justification of the axis labels then you use las  
and hadj at the same time.

On 20 nov. 08, at 14:45, martin.bader at unibas.ch wrote:

> Full_Name: Martin Karl-Friedrich Bader
> Version: 2.8.0
> OS: 10.5.3
> Submission from: (NULL) (131.152.1.1)
>
>
> Hi there,
>
> when using las=1 on the y-axis the labels keep their centered  
> justification,
> e.g. if you plot a graph using the axis command: axis(side=2,  
> at=c(0,50, 100,
> 125), lab=c("0","50","100", " "), las=1), then the 0 and the 50 are  
> centered in
> relation to the 100! One can work around that problem by inserting  
> blank spaces
> in front of the lower numbers (e.g.: "     0") but that's not an  
> appropriate
> solution! Is there a way that can be fixed? Thanks in advance!
>
> Martin
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel