Hi, I'd like to use a custom color sequence (black - low values, green -
high values) in am image() plot. While I can specify colors (say a  sequence
of grays) to the col argument, the ordering is getting messed up. I have two
questions:

1. How can I get a sequence of say 256 colors starting from black and ending
in green?
2. How is this specified to image() such that it uses the colors in the
proper ordering?

Thanks,

-- 
Rajarshi Guha
NIH Chemical Genomics Center

        [[alternative HTML version deleted]]

______________________________________________
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