[R] Covered Labels
MSchwartz at MedAnalytics.com
Wed Jun 23 16:16:04 CEST 2004
On Wed, 2004-06-23 at 09:06, Martina Renninger wrote:
> Dear All!
> How can I cope with overlapping or covered labels (covered by labels
> from other data points) in plots?
Presuming that you are using text() to identify points in a plot, you
can use the 'cex' argument (which defaults to 1) to reduce the size of
the font. So in this case, try values <1, for example:
text(x, y, labels = YourText, cex = 0.8)
Possibly depending upon how many points you have, you can also adjust
the position of the label with respect to the data points by using
'adj', 'pos' and 'offset'.
See ?text for more information.
More information about the R-help