|
From: Philipp K. J. <ja...@ie...> - 2008-03-04 01:42:41
|
Here is my question (in short): Is it possible to adjust the slice of the spectrum shown in the colorbox without affecting the mapping of colors to z-values? Here is what I try to do: Say, I want to plot some data, the values of which are in the range [0:100], and I want to show ALL the values, therefore: set zrange [0:100] Now I have a very skewed palette, like so: set palette defined ( 0 'red', 1 'white', 100 'blue' ) For convenience, the index in the colorbox maps directly to the z-value. Now I want to show in the colorbox only those colors that map to z-values between 0 and 10, without affecting the mapping! Is there a way to do this? Using set cbrange [0:10] will not do it, because this affects the mapping. It will associate "blue" with the z-value 10 and adjust all the intermediate values accordingly. That's not what I am trying to do. Any suggestions? Best, Ph. |