Shows available Matlab colormaps.

Shows available Matlab colormaps by cycling through them.
475 Downloads
Updated 19 May 2009

View License

SHOWCOLORMAPS shows available Matlab colormaps by cycling through them.

Usage: showcolormaps(m)

where m is the number of levels the colormap should have. Default is 64,
except for vga which has (always) only 16.

Next the user may cycle by entering either

1 or enter - shows next colormap
0 - stops
-1 - inverts current colormap

See also invertcolormap, colormap and colorbar.

Cite As

Uilke Stelwagen (2024). Shows available Matlab colormaps. (https://www.mathworks.com/matlabcentral/fileexchange/24202-shows-available-matlab-colormaps), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
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!
Version Published Release Notes
1.0.0.0