[R] selecting a coordinate from a graph
Prof Brian Ripley
ripley at stats.ox.ac.uk
Mon May 3 22:13:19 CEST 2004
On Mon, 3 May 2004, Richard Bonneau wrote:
> What is the method for selecting a coordinate from a graph
> with the mouse, if any such function exists? For example, we
> would like to select outliers in a scatter-plot with the mouse, or
> add figure legends with the mouse.
> There was a way to add figure legends with the mouse in Splus
> but I haven't found such functions in R.
There are exactly the same functions as in S-PLUS (sic), namely locator()
and identify(). They *are* in `An Introduction to R', too.
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list