MATLAB Plot Gallery - Colormap Chart

Create a chart of built-in colormaps


Updated Wed, 19 Dec 2018 22:33:17 +0000

View License

This is an example of creating a chart of built-in colormaps in MATLAB®.
Read about the "colormap" function in the MATLAB documentation.
For more examples, go to MATLAB Plot Gallery -

Cite As

MathWorks Plot Gallery Team (2023). MATLAB Plot Gallery - Colormap Chart (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Colormaps in Help Center and MATLAB Answers

Inspired: Colormap Dropdown Menu

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Added live script

Updated license

Updated screenshot.