[R] Plot colors

From: uv <uvtravel_at_hotmail.com>
Date: Thu, 29 May 2008 09:23:07 -0700 (PDT)

Hi. I am plotting graphs for values ranging between -1 and 10, for example: (1,2,1,1,6,7,-1,-1,5,-1)
I am trying to plot the graphs so that the points with value of -1 will be in one specific color, and the rest of the points will be in one different specific color. I would be grateful for any idea of how to do that in two colors.
Thanks for any hint.

View this message in context: http://www.nabble.com/Plot-colors-tp17539738p17539738.html
Sent from the R help mailing list archive at Nabble.com.

R-help_at_r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Thu 29 May 2008 - 17:14:41 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 02 Jun 2008 - 05:30:35 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.

list of date sections of archive