Re: [Rd] question in value-based color in image()

2008-09-16 Thread Uwe Ligges
M. wrote: Hello, I have a matrix with value varying from -1 to 1. I hope to use scaled color based on its value to produce an image of this matrix. Suppose I hope to label those data in [-1,-0.5] with blue, label those [-0.5,0.8] with light blue (tone is proportional to its value) and label

[Rd] question in value-based color in image()

2008-09-15 Thread M.
Hello, I have a matrix with value varying from -1 to 1. I hope to use scaled color based on its value to produce an image of this matrix. Suppose I hope to label those data in [-1,-0.5] with blue, label those [-0.5,0.8] with light blue (tone is proportional to its value) and label those [0.8,1]