newcolorbar: multiple colormaps in the same axes
This function creates a new set of invisible axes matching the size and extents of the current axes. This allows additional colormaps to be used in such a way that they are perceived as multiple colormaps in the same axes.
Cite As
Chad Greene (2026). newcolorbar: multiple colormaps in the same axes (https://uk.mathworks.com/matlabcentral/fileexchange/52505-newcolorbar-multiple-colormaps-in-the-same-axes), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: freezeColors / unfreezeColors, COLORMAP and COLORBAR utilities (Jul 2014), Multiple Colormaps, ColorBrewer: Attractive and Distinctive Colormaps
Inspired: cbarrow: pointy ends for colorbars
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
newcolorbar/
newcolorbar/html/
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | Typo fix in the description. |
