I am plotting a data file with points whose color is defined through a palette that goes from 0 to 1. The color refers to a value in a column of the file; I assign a palette with different hues of "blue":
set cbrange [0:1]
set palette defined (1 "#B0E2FF", 2 "#87CEFA", 3 "#7EC0EE", 4 "#4F94CD", 5 "#4E78A0", 6 "#104E8B", 7 "#1B3F8B", 8 "#162252")
The problem is, the palette gets linearly spaced in colors. So for my data this isn't good, I'd like more precision in the intermediate range of values (large color bins) and small precision in the extremes (small color bins).
I've found I could use a palette in a log scale:
set log cb
but this of course isn't good for me either, given what I want. I'd need to apply a self-defined function to space values in my palette. Is that possible?