[R] Avoiding overplotting of text.
Jim Lemon
jim at bitwrit.com.au
Mon Feb 25 11:57:29 CET 2008
Gustaf Rydevik wrote:
> Hi all,
>
> I am plotting some data, and use text() to get variable names next to
> points on the graph. What is the best way to make sure that these text
> labels are readable and not overlapping when two datapoints are close?
> I've tried using jitter(), but the effect is random and doesn't always
> give a good result.
> Any suggestions would be most appreciated.
>
Hi Gustaf,
Have a look at thigmophobe.labels in the plotrix package.
Jim
More information about the R-help
mailing list