newcolorbar: multiple colormaps in the same axes

Create multiple colormaps and colorbars in (seemingly) the same set of axes.
1.3K Downloads
Updated 16 Aug 2015

View License

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
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Color and Styling in Help Center and MATLAB Answers

newcolorbar/

newcolorbar/html/

Version Published Release Notes
1.0.0.0

Typo fix in the description.