newcolorbar: multiple colormaps in the same axes

Create multiple colormaps and colorbars in (seemingly) the same set of axes.
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 (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
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!



Version Published Release Notes

Typo fix in the description.