[R] a question about identify and locator

Uwe Ligges ligges at statistik.uni-dortmund.de
Fri Jul 30 16:27:19 CEST 2004


Molins, Jordi wrote:

> Hello,
> 
> I use R 1.9.1 on Windows 2000. I have a chart that I am looking. I use
> identify() and locator() to find out the (x,y) values of interesting points
> in the chart, but these functions are not always helpful (e.g., sometimes
> identify() prints on top of the chart, making the number illegible). 

par(xpd = NA) just before using identify() should help here. See ?par 
for details.


 > What I
> would be interested in is in a functionality that identifies the (x,y) point
> using something like a text box superimposed on the chart that disappears
> when the cursor is away from the chart (for example, similar to Excel) or
> even better, small text boxes located both in the x and y axis near to the
> points (0,y) and (x,0), resp., that are constantly updated (like charts in
> Bloomberg) .
> 
> Is there something like this in R? 

Not within R itself.

Uwe Ligges


> Thank you
> 
> Jordi
> 
> 
> 
> --------------------------------------------------------------------------------
> The information contained herein is confidential and is inte...{{dropped}}
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list