To extend on Walmes "locator", there is a great article (by Timothée) on how
to extract data points from an image using R:

http://www.r-bloggers.com/getting-data-from-an-image-introductory-post/



----------------Contact
Details:-------------------------------------------------------
Contact me: Tal.Galili@gmail.com |  972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com (English)
----------------------------------------------------------------------------------------------




On Fri, Apr 2, 2010 at 11:24 PM, Walmes Zeviani
<walmeszeviani@hotmail.com>wrote:

>
> You can use identify() to obtain coordinates from plotted points but if you
> want any coordinates you could use locator():
>
> > plot(1:10)
> > loc <- locator(n=3)
> > str(loc)
> List of 2
>  $ x: num [1:3] 2.3 5.4 8.29
>  $ y: num [1:3] 6.15 8.33 2.6
> > points(loc$x, loc$y, col=2)
> >
>
> Walmes.
>
> -----
> ..ooo0
>
> ...................................................................................................
> ..(....)... 0ooo...                              Walmes Zeviani
> ...\..(.....(.....)...     Master in Statistics and Agricultural
> Experimentation
> ....\_)..... )../....       walmeszeviani@hotmail.com, Lavras - MG, Brasil
> ............
>
> (_/............................................................................................
> --
> View this message in context:
> http://n4.nabble.com/mouse-clicking-on-xy-plot-tp1749562p1749586.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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.
>

	[[alternative HTML version deleted]]

