Re: [R] Avoiding overplotting of text.

From: hadley wickham <>
Date: Mon, 25 Feb 2008 15:36:00 -0600

> 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.

Have a look at pointLabel in maptools -


______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Mon 25 Feb 2008 - 21:38:31 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 26 Feb 2008 - 13:30:16 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive