[R] catering for rescaling
Geoffrey
lordgeoffrey at optusnet.com.au
Mon Mar 10 12:34:01 CET 2014
My barplot has nicely left justified horizontal labels, the names of
people. Written using text() . I use par("user")[1] - OFFSET to get the
placed nicely.
Now of course if i manually rescale/zoom the plot the labels get redrawn
at the 'wrong' location, including off the left of the plot.
I assume this is because the x-position is based off the size of a unit
in the plot, which changes when i rescale.
Can i get some pointers on how to adjust for this?
Thanks.
More information about the R-help
mailing list