I am plotting values using the "patch" function in Matlab, where data stored in a vector define the color of the patches.
My data range from 0 to 5, but most of the data are bunched around 0.5 and 4.5. If I set the limits of the colormap [0-1] I lose the detail in the higher values and if I set the range [0-5], I lose information for the lower values in my plot.
I am trying to create my own colormap, defining the colours in three RGB columns, but don't understand how the colours are distributed. How do I define the spacing, in order to get more definition in lower and higher values? Is there an other way around?