How can I invert the distribution of colors in a colormap, in MATLAB 8.1 (R2013a)?
1,380 views (last 30 days)
For example, in the following figure
the colormap's lower value is dark red/black, while its higher value is yellow/white.
Is there a way to flip the colormap (i.e. lower numerical values to be yellow/white and higher numerical values to be represented as darkred/black) without having to create a new colormap manually?