Re: [R] retrieve x y coordinates of points in current plot

2011-03-06 Thread Carl Witthoft
If you want to identify the coordinates of points within a region, you might want to look at the ImageJ application. http://rsbweb.nih.gov/ij/ IIRC it has some macros to find and classify spots. __ R-help@r-project.org mailing list https://stat.ethz.

Re: [R] retrieve x y coordinates of points in current plot

2011-03-05 Thread Greg Snow
p@r-project.org > Subject: Re: [R] retrieve x y coordinates of points in current plot > > On 03/05/2011 07:25 PM, Greg Snow wrote: > > It is not completely clear what you are trying to accomplish. Do you > want to draw a shape in the plot then identify all the points in that >

Re: [R] retrieve x y coordinates of points in current plot

2011-03-05 Thread Jannis
On 03/05/2011 07:25 PM, Greg Snow wrote: It is not completely clear what you are trying to accomplish. Do you want to draw a shape in the plot then identify all the points in that shape? You could use locator (with type='l') to draw a polygon, then there are functions in add on packages (mos

Re: [R] retrieve x y coordinates of points in current plot

2011-03-05 Thread Greg Snow
Healthcare greg.s...@imail.org 801.408.8111 > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Jannis > Sent: Saturday, March 05, 2011 7:29 AM > To: Dieter Menne > Cc: r-help@r-project.org > Subject: Re: [R] ret

Re: [R] retrieve x y coordinates of points in current plot

2011-03-05 Thread Jannis
Thanks for your replies, Dieter and Richard. I am aware of these two functions. I wanted, however, to write a similar function to identify by selecting large clouds of points. For this I would need to rertrieve their coordinates after the plot was called and created. As identify() is able to do

Re: [R] retrieve x y coordinates of points in current plot

2011-03-04 Thread Dieter Menne
jannis-2 wrote: > > > is it somehow possible to retrieve the x and y coordinates of points in > a scatterplot after it has been plotted? identify() somehow seems to > manage this, so I was wondering whether it is possible? > locator might be the more basic function you are looking for. Diet

[R] retrieve x y coordinates of points in current plot

2011-03-04 Thread Jannis
Dear list, is it somehow possible to retrieve the x and y coordinates of points in a scatterplot after it has been plotted? identify() somehow seems to manage this, so I was wondering whether it is possible? I am asking as I wrote a function that identifies points inside a polygon and I woul