COLORMAP and COLORBAR utilities (Jul 2014)

バージョン (67 KB) 作成者: Carlos Adrian Vargas Aguilera
MATLAB color utilities including COLORMAP join and interpolation; freeze and fit COLORBAR, etc.

ダウンロード 23.8K 件

更新 2014/7/3


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 - Changes COLORMAP and CAXIS to fit between colorbar's ticks.
cbfreeze - Freezes the colormap of a colorbar.
cbhandle - Gets the handle of current colorbar or its peer axes.
cblabel - Adds a label to the colorbar.
cbunits - Adds units (and ISU prefixes) to the colorbar ticklabels.
Following functions I submitted here previously were renamed to:
Enjoy it!
Bugs reports and suggestions will be very appreciated!


Carlos Adrian Vargas Aguilera (2022). COLORMAP and COLORBAR utilities (Jul 2014) (, MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2013b
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!