[R] labeling graphs

Gabor Grothendieck ggrothendieck at gmail.com
Fri Sep 8 03:55:42 CEST 2006


Issue this command and then click anywhere on the plot.

loc <- locator(1); do.call(text, c(loc, "abc"))


On 9/7/06, Nair, Murlidharan T <mnair at iusb.edu> wrote:
> I am trying to add text at specific location on my graph. I know this
> can be done in R but I can't recollect.
>
> I was trying using locator() to identify the position and use identify()
> but I can get it to work. Can someone jog my memory?
>
> Thanks ../Murli
>
>
>
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list