[R] Scatterplot help

From: gnv shqp <gnvshqp_at_gmail.com>
Date: Sun 21 Jan 2007 - 17:43:35 GMT

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 and a Y-axis reference line. The X-axis reference line is a vertical line starting from the center of the X-axis. The Y-axis reference line is a horizontal line starting from the center of the Y-axis. In other words, by creating the two reference lines, the scatterplot is divided into 4 quadrants.

Please help me figure out how to do that in R.

Many thanks in advance!

Feng

        [[alternative HTML version deleted]]



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 and provide commented, minimal, self-contained, reproducible code. Received on Mon Jan 22 18:41:00 2007

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 Mon 22 Jan 2007 - 09:30:32 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.