Dear Aimin,

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> project.org] On Behalf Of Aimin Yan
> Sent: February-11-08 7:22 AM
> To: r-help@r-project.org
> Subject: [R] scatterplot in CAR
> 
> I am trying to use scatterplot function in CAR like the following:
> 
> scatterplot(X~Y)
> 
> I want to label X points and Y ponits using the different color.
> Any idea for this?
> 
> Aimin

I'm afraid that I don't understand the question: scatterplot(X~Y) will make
a scatterplot with the variable X on the vertical axis and Y on the
horizontal axis. Did you really want to do that? Moreover, as in any
scatterplot, the variables Y and X will define the coordinates of the points
-- there are not distinct X points and Y points.

Regards,
 John

--------------------------------
John Fox, Professor
Department of Sociology
McMaster University
Hamilton, Ontario, Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox

______________________________________________
R-help@r-project.org 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.

Reply via email to