R:plot and dots
Here is an example : x <- rnorm(20) y <- rnorm(20) plot(x, y, type="n") text(x, y, labels=as.character(1:20)) Also look into help(identify) if you want to point out specific points. Regards, Adai
On Thu, 2005-07-21 at 16:18 +0200, Clark Allan wrote:
hi all a very simple question. i have plot(x,y) but i would like to add in on the plot the observation number associated with each point. how can this be done? / allan
______________________________________________ R-help at 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