[R] How to add label to lines()

Duncan Murdoch murdoch.duncan at gmail.com
Wed Jun 22 15:57:52 CEST 2011


On 11-06-21 10:31 AM, Nevil Amos wrote:
> I am plotting a number of lines on a standard plot.  I would like to add
> labels at the end (rhs) of each line.  is there a way to do this other
> than defining the individual xy coordinates and placing each label using
> text()

Probably, but what you describe is the best way.

Duncan Murdoch



More information about the R-help mailing list