[R] scatterplot but a little tricky

From: <markleeds_at_verizon.net>
Date: Sat 17 Jun 2006 - 07:59:26 EST

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.

so, if it was x[3] and y[3], then the point would be a 3 or if it was x[4] and y[4], then the point would be a 4 etc.

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


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 Received on Sat Jun 17 08:04:26 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 https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.