[R] retrieve x y coordinates of points in current plot

Jannis bt_jannis at yahoo.de
Fri Mar 4 18:24:30 CET 2011


Dear list,

is it somehow possible to retrieve the x and y coordinates of points in 
a scatterplot after it has been plotted? identify() somehow seems to 
manage this, so I was wondering whether it is possible?

I am asking as I wrote a function that identifies points inside a 
polygon and I would like it to work without supplying the x and y 
coordinates again but by retrieving them from the device.


Cheers
Jannis



More information about the R-help mailing list