COLORMAP and COLORBAR utilities (Sep 2009)
These are some utilities that improve the COLORMAP and COLORBAR functions. They are as follows, and each one includes help and examples:
COLORMAP utilites:
cmapping - Colormap linear mapping/interpolation.
cmfit - Sets the COLORMAP and CAXIS to specific color bands.
cmjoin - Joins colormaps at certain levels.
cmlines - Change the color of plotted lines using the colormap.
COLORBAR utilities:
cbfit - Draws a colorbar with specific color bands between its ticks.
cbfreeze - Freezes the colormap of a colorbar.
cbhandle - Handle of current colorbar axes.
cblabel - Adds a label to the colorbar.
cbunits - Adds units to the colorbar ticklabels.
I include updated versions of the following functions I submitted here previously:
SETCOLORMAPS (now called CMJOIN),
COLORBARFIT (now called CBFIT),
CBLABEL and
CBUNITS.
Enjoy it!
Bugs reports and suggestions will be very appreciated!