[R] Point labels
Jari Oksanen
jarioksa at sun3.oulu.fi
Wed May 22 07:44:01 CEST 2002
mastropi at uwalumni.com said:
> Is there an option I can easily set to put labels next to the points
> in a simple plot? The closest I got to it was to use the option pch,
> but this replaces the point symbol with the character specified, and
> it is not what I want.
text() was already mentioned. identify() may be more flexible, since
there you can click the side where you want to have your labels and
avoid congestion and overwriting of labels (indentify() becomes
impractical if you need a large amount of labels, of course).
It would be nice to have a function which plots the points + labels
automatically, but lets you move congested labels. This _may_ be doable
with package`tcltk' -- at least I once did this in Python/TkInter/
TclTk, but probably I don't have time to look whether this is beyond my
skills in R/tcltk.
cheers, jari oksanen
--
Jari Oksanen -- Dept Biology, Univ Oulu, 90014 Oulu, Finland
Ph. +358 8 5531526, cell +358 40 5136529, fax +358 8 5531061
email jari.oksanen at oulu.fi, homepage http://cc.oulu.fi/~jarioksa/
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list