Shows available Matlab colormaps.

Shows available Matlab colormaps by cycling through them.

You are now following this Submission

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 (2026). Shows available Matlab colormaps. (https://www.mathworks.com/matlabcentral/fileexchange/24202-shows-available-matlab-colormaps), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0