s-news
[Top] [All Lists]

Re: Auto point numbering with plot(x,y)

To: parkhurs@imap.iu.edu, s-news@wubios.wustl.edu
Subject: Re: Auto point numbering with plot(x,y)
From: "Greg Snow" <greg.snow@ihc.com>
Date: Mon, 16 May 2005 10:08:29 -0600
The pts argument for identify allows for non-interactive
identification:

> x <- runif(10)
> y <- runif(10)
> plot(x,y)
> identify(x,y, pts=list(x=x,y=y))


Greg Snow, Ph.D.
Statistical Data Center, LDS Hospital
Intermountain Health Care
greg.snow@ihc.com
(801) 408-8111

>>> David Parkhurst <parkhurs@imap.iu.edu> 05/15/05 09:51AM >>>
Is there a way to cause plot(x,y) to number each point with its row 
number automatically?  I know how to do this with identify(), point by

point, but can it be done without all that mousing?

Dave Parkhurst
--------------------------------------------------------------------
This message was distributed by s-news@lists.biostat.wustl.edu.  To
unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
the BODY of the message:  unsubscribe s-news


<Prev in Thread] Current Thread [Next in Thread>