newcolorbar: multiple colormaps in the same axes

Create multiple colormaps and colorbars in (seemingly) the same set of axes.
1.2K 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 (2024). newcolorbar: multiple colormaps in the same axes (https://www.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 Colormaps in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!

newcolorbar/

newcolorbar/html/

Version Published Release Notes
1.0.0.0

Typo fix in the description.