[R] scatterplot but a little tricky

markleeds at verizon.net markleeds at verizon.net
Fri Jun 16 23:59:26 CEST 2006


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.

                                         mark



More information about the R-help mailing list