Re: [R] scatterplot but a little tricky

From: Sarah Goslee <>
Date: Sat 17 Jun 2006 - 08:09:51 EST

On 6/16/06, <> wrote:


> i have two vectors of numbers x and y and of course i
> can do the standard scatterplot plot(x,y)
> and it looks fine. But, I was hoping there was a way to
> do the scatterplot so that each point plotted is a number
> where the number represents the index in the dataset.

plot(x, y, type="n")
text(x, y, 1:length(x))

i doubt this is possible but i figured i would ask anyway.
> thanks.

This is R... everything is possible, just not always easy.


Sarah Goslee

	[[alternative HTML version deleted]]

______________________________________________ mailing list
PLEASE do read the posting guide!
Received on Sat Jun 17 08:16:14 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 17 Jun 2006 - 10:11:03 EST.

Mailing list information is available at Please read the posting guide before posting to the list.