[R] Rotated, Right-Justified Labels for Shortened Tick Marks

dms dschruth at gmail.com
Thu Jan 13 01:59:45 CET 2011


Hello R-help,

I'm trying to make a fairly simple plot axis that goes something like
this:

plot(-10:10,-10:10, yaxt='n')
axis(side=2, las=1, hadj=1,  tck=-.01, cex.axis=.6)

...but as you can see, the labels are not close enough to the y-axis
(where I want them... to save space for publication).

Can anybody help me figure out how to move these labels over the the
right a bit?

Thanks,

-D



More information about the R-help mailing list