Fixed colours in palette
Posted: Thu Jan 31, 2008 2:24 pm
I have a surface chart, and the default colouring appears to divide the range into bins and assign colours to the surface depending on which part of the range it lies in, so that a plot containing values from 0 to 1 will have the same colouring as one containing values from 0 to 100.
I want to fix the palette so that the colour depends on an absolute scale rather than relative to the rest of the curve. So, for example, if the z value is between [0,1) it is red, between [1,2) it is blue, between [2,3) it is green and so on... How can I do this?
I want to fix the palette so that the colour depends on an absolute scale rather than relative to the rest of the curve. So, for example, if the z value is between [0,1) it is red, between [1,2) it is blue, between [2,3) it is green and so on... How can I do this?