Page 1 of 1

Fixed colours in palette

Posted: Thu Jan 31, 2008 2:24 pm
by 9640703
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?

Posted: Thu Jan 31, 2008 2:33 pm
by narcis
Hi gs,

You can define a custom palette as in the example Marjan posted here.