Re: [R] Scatterplot help

2007-01-22 Thread David Barron
The following three lines will do what you want. You will probably want to change some of the default behaviour; just look at the relevant help pages. plot(x,y) text(x,y,ID) grid(2) On 21/01/07, gnv shqp [EMAIL PROTECTED] wrote: Hi my friends, I'm trying to make a scatterplot like this. 1)

[R] Scatterplot help

2007-01-21 Thread gnv shqp
Hi my friends, I'm trying to make a scatterplot like this. 1) I have a 3-variable dataset. They are ID, x, and y. 2) x is for the X-axis, y for the Y-axis, and ID is used to label all the cases in the scatterplot. 3) After creating the scatterplot, I need to add both a X-axis reference line