File Exchange

image thumbnail

newcolorbar: multiple colormaps in the same axes

version 1.0.0.0 (431 KB) by Chad Greene
Create multiple colormaps and colorbars in (seemingly) the same set of axes.

4 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.

Comments and Ratings (3)

Ah no 2014b is enough. Still, does not work for map axes...

Error using gcm (line 25)
Not a map axes.

Error in nextmap (line 24)
gcm; % Will error if gca is not a valid map axes

Error in pcolorm (line 46)
nextmap;

Does it only work in a Matlab R2015a and higher?
It does not work for map axis...

Updates

1.0.0.0

Typo fix in the description.

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux

newcolorbar/

newcolorbar/html/