[Rd] Label justification (axis) (PR#13307)
Kjell Konis
kjell.konis at epfl.ch
Fri Nov 21 11:11:29 CET 2008
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
More information about the R-devel
mailing list