javier garcia - CEBAS wrote:
Hi all;
Just to ask if you know about any available function in R to identify points
in a image plotted in X11. Something like the function identify(), but able
to extract (x,y,value) groups from the image.
Maybe, something like that?
z <- matrix(runif(100),10,10)
image(list(x = 0:9, y = 0:9, z = z))
p <- locator(1)
z[round(p$x), round(p$y)]
Thomas P.
______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html