If you use axis instead of text the positions should get set in user coordinates.
-- David > On Mar 10, 2014, at 6:34 PM, Geoffrey <lordgeoff...@optusnet.com.au> wrote: > > 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. > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.