On 08/05/07, John Kane <jrkrideau@yahoo.ca> wrote:
>
> Try ?locator


Thanks. Your tip also lead to another function: ?identify to add my two
cents.

--- gatemaze@gmail.com wrote:
>
> > Hi,
> >
> > is it possible to find the index of a point of a
> > plot (e.g. scatterplot) in
> > an easy way?
> >
> > Eg.
> > x <- c(1:5); y <- c(1:5);
> > plot(x, y);
> >
> > On the plot if I move my cursor on top of a point or
> > click on it is it
> > possible to have its index printed or its exact
> > value? Any clues?
> >
> > Thanks.
> >
> >       [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help@stat.math.ethz.ch 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.
> >
>
>
>
>       Be smarter than spam. See how smart SpamGuard is at giving junk
> email the boot with the All-new Yahoo! Mail at
> http://mrd.mail.yahoo.com/try_beta?.intl=ca
>
>

	[[alternative HTML version deleted]]

