You can do this by reading in the image and plotting it, then use the updateusr 
function from the TeachingDemos package to set the user coordinates to match 
the image (use locator to find the current values of some points).  Then you 
can just use the locator function to get the coordinates of the points.

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111


> -----Original Message-----
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
> project.org] On Behalf Of Rob James
> Sent: Friday, October 15, 2010 2:46 PM
> To: r-help@r-project.org
> Subject: [R] Recovering x/y coordinates from a scatterplot image
> 
> Do I recall correctly that there is an R package that can take an
> image,
> and help one estimate the x/y coordinates?  I can't find the package,
> thought it was an R-tool, but would appreciate any leads.
> 
> Thanks,
> 
> Rob
> 
> ______________________________________________
> 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.

______________________________________________
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