Re: [R] How to label and unlabel points on scatterplot with mouse pointer

2009-08-12 Thread Greg Snow
boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of Hitesh Singla > Sent: Tuesday, August 11, 2009 10:50 PM > To: r-help@r-project.org > Subject: [R] How to label and unlabel points on scatterplot with mouse > pointer > > Dear all, > > How

Re: [R] How to label and unlabel points on scatterplot with mouse pointer

2009-08-12 Thread Duncan Murdoch
Hitesh Singla wrote: Thanks milton, But that does not work in my case.. Any other suggestion be appreciated. You can't do what you want with standard graphics or grid/lattice/ggplot2, as far as I know. But there are various other graphics systems in contributed packages that can probably

Re: [R] How to label and unlabel points on scatterplot with mouse pointer

2009-08-12 Thread Hitesh Singla
Thanks milton, But that does not work in my case.. Any other suggestion be appreciated. Thanks and regards, Hitesh Singla > Hi Hitesh, > > while the rigth response not arrive, you can play with: > > id<-1:10 > x<-runif(10) > y<-runif(10) > > plot(x,y) > identify(x, y , labels = id) > Try give a

Re: [R] How to label and unlabel points on scatterplot with mouse pointer

2009-08-11 Thread milton ruser
Hi Hitesh, while the rigth response not arrive, you can play with: id<-1:10 x<-runif(10) y<-runif(10) plot(x,y) identify(x, y , labels = id) Try give a look on spatstat help. I am not quite sure, but may be there you can find some solution (sorry if it is not true) cheers milton On Wed, Aug 1

[R] How to label and unlabel points on scatterplot with mouse pointer

2009-08-11 Thread Hitesh Singla
Dear all, How can I label/unlabel points on scatterplot with mouse pointer. As the mouse approches near to point, it should label the closest point, then unlabel when it moves away. How can I do in R? I be very thankful. Thanks and Regards, Hitesh Singla -- This message has been scanned for v