Hi,

Does anyone know of a function that dynamically updates a variable with the
(x,y) co-ordinates of the mouse pointer on a plot?

locator and identify only return the values when you click 'stop' on the
graphics device.

Any help would be gratefully appeciated.

Kind regards,

Sam.

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org 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.

Reply via email to