[R] Recovering x/y coordinates from a scatterplot image

Greg Snow Greg.Snow at imail.org
Sun Oct 17 03:38:30 CEST 2010


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.snow at imail.org
801.408.8111


> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Rob James
> Sent: Friday, October 15, 2010 2:46 PM
> To: r-help at 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 at 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.



More information about the R-help mailing list