[EMAIL PROTECTED] wrote:

hello, how i cant with function locator() know the coordinates of two function graphicated in the same graphical area, the return coordinates which are they , of one function or the another function:

| f
| /(click here) locator(1), return (x,y) of f or g function?
| /
| / |/~~~~~g
|________________



Might be neither!
It returns a value specified in user coordinates of the plotting region at the time locator() was called. ?locator could be a bit more specific here ...



Try


 plot(1:10)
 locator()
 par("usr" = c(101,110,101,100))
 locator()

as an example


Uwe Ligges


______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to