Skip to content
Prev 140156 / 398506 Next

(no subject)

As you have not given us a reproducible example (namely we don't  
really know what "test" is), there are likely better ways to do this  
than what I am about to suggest, and you can find examples in the  
relevant plot functions likely, but I think what you want can be  
achieved using ifelse:

  plot(test, col = ifelse(test[,1]<8 , "steelblue2" ,"wheat2") )

Haris Skiadas
Department of Mathematics and Computer Science
Hanover College
On Mar 23, 2008, at 7:06 PM, Donna Tucker wrote: