Skip to content
Prev 247189 / 398506 Next

Rotated, Right-Justified Labels for Shortened Tick Marks

dms
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