MatPlotLib Perceptually Uniform Colormaps
- the default sequential colormap VIRIDIS (as well as INFERNO, MAGMA, and PLASMA).
- the default line colororder TAB10 (as well as TAB20, TAB20B, and TAB20C).
- the perceptually uniform cyclic colormaps TWILIGHT and TWILIGHT_SHIFTED
- the colorblind-friendly sequential colormap CIVIDIS.
- colormaps: https://bids.github.io/colormap/
- line colororder: https://github.com/vega/vega/wiki/Scales#scale-range-literals.
Cite As
Stephen23 (2025). MatPlotLib Perceptually Uniform Colormaps (https://uk.mathworks.com/matlabcentral/fileexchange/62729-matplotlib-perceptually-uniform-colormaps), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: PyColormap4Matlab, MATLAB Code for 2-D Steady State Heat Transfer PDEs
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 2.1.5 | * Documentation improvements |
||
| 2.1.4 | * Documentation improvement. |
||
| 2.1.3 | * Update image aspect ratio |
||
| 2.1.2 | * Update image aspect ratio. |
||
| 2.1.1 | * Update image. |
||
| 2.1.0 | * Update to use HG2 default map length.
|
||
| 2.0.3 | * Better overview image. |
||
| 2.0.2 | * Add error IDs. |
||
| 2.0.1 | Add YouTube link to description. |
||
| 2.0.0 | * Include colormaps CIVIDIS and TWILIGHT
|
