Hi All, I am plotting a correlation matrix using the heatmap function. I create my color palette as follows (say, for red-green palette): colorRampPalette( c("green", "black", "red"), space="rgb")(10) But I want to fix colors for a specific range of values, i.e. green=-1, black=0, red=+1. The purpose of doing this is I can then quickly compare two different correlation matrices visually, i.e., one matrix has values in the range -1 to +1, whereas the other has from -0.5 to +0.5. Then the two heatmaps differ in color levels. I searched in the help archives to find any hints but didn't. Is there an easy way of doing this? Any help is greatly appreciated. Thanks. Ashoka. [[alternative HTML version deleted]]