The "set palette defined" command displays the gray values that you get if you plan to use grayscale in the color palette; scaling to min → 0 and max → 1 is how it should work. If you want to make a set of graphs with the same data scaling, you want to use the "set cbrange" command. For instance,
set cbrange [0:0.5] set palette defined (0 "blue", 1 "red") splot '++' using 1:2:(sin($1)*cos($2)) w image
gives a graph of the image with a maximum value of 0.5, for red and 0 - blue. Subsequent graphs, for example
splot '++' using 1:2:(0.5*sin($1)*cos($2)) w image
will use the same scaling, so they can be compared.
source share