David and Jim, thanks for your help. Your advice was exactly what I needed. 

I tinkled with the "col" argument before but I was trying to assign colors
to numbers with a command like: 

col(1<-"green",2<-"blue")

Usually I need to see an example before I can implement something correctly. 

Thanks again.
-- 
View this message in context: 
http://n4.nabble.com/specifying-colors-in-a-heatmap-image-like-plot-tp1472388p1473485.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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