| To: | David Parkhurst <parkhurs@imap.iu.edu> |
|---|---|
| Subject: | Re: Auto point numbering with plot(x,y) |
| From: | Alan Zaslavsky <zaslavsk@hcp.med.harvard.edu> |
| Date: | Sun, 15 May 2005 14:11:19 -0400 (EDT) |
| Cc: | S news list <s-news@wubios.wustl.edu> |
| In-reply-to: | <42876FF1.3040809@imap.iu.edu> |
| References: | <42876FF1.3040809@imap.iu.edu> |
You can do something like plot(x,y,type="n") text(x,y,paste(1:number.of.rows))if you want to use the row number as plotting labels. If you want the points with adjacent labels then something more like plot(x,y) text(x+offset.x,y+offset.y,paste(1:number.of.rows))will plot the point with the number label at some relative location you choose. On Sun, 15 May 2005, David Parkhurst wrote: 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? |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Auto point numbering with plot(x,y), David Parkhurst |
|---|---|
| Next by Date: | Re: Padding out a vector of characters to a constant width, Glenn . Treacy |
| Previous by Thread: | Auto point numbering with plot(x,y), David Parkhurst |
| Next by Thread: | Re: Auto point numbering with plot(x,y), Greg Snow |
| Indexes: | [Date] [Thread] [Top] [All Lists] |