Perceptually uniform colormaps
Perceptually uniform colormaps adds 4 new colormaps that are:
1) Perceptually uniform (delta color is equal in all delta data)
2) Colorblind friendly
3) Good at grayscale conversion
4) Pretty!
Colormaps have been taken from https://bids.github.io/colormap/ , the discussion of the new default colromaps in python's matplotlib.
It should work for any Matlab release (both with the new and old graphics handles)
Colormaps created by: Stéfan van der Walt and Nathaniel Smith.
The colormaps have been published under a (CC0) Creative Commons License by the original authors. I do not own any copyright on them, this is a simple repackaging of the colormaps for MATLAB.
Cite As
Ander Biguri (2024). Perceptually uniform colormaps (https://www.mathworks.com/matlabcentral/fileexchange/51986-perceptually-uniform-colormaps), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > Formatting and Annotation > Colormaps > Green >
- MATLAB > Graphics > Formatting and Annotation > Colormaps > Purple >
- MATLAB > External Language Interfaces > Python with MATLAB > Call Python from MATLAB >
Tags
Acknowledgements
Inspired: AlexHenderson/cividis, PyColormap4Matlab, multiTrace3D, MatPlotLib Perceptually Uniform Colormaps, RamanLIGHT
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.
Colormaps (5)/Colormaps
Version | Published | Release Notes | |
---|---|---|---|
1.3.2 | Licence information |
||
1.3.1.0 | Fixed unnecessary preallocation |
||
1.3.0.0 | Updated error when interpolating in HSV from 1-0 and changed the name of parula to avoid shadowing. |
||
1.2.0.0 | Colormaps have a name now: Magma, Inferno, Plasma and Viridis. |
||
1.1.3.0 | Improved speed of interpolation and modified demo2 for fanciness. |
||
1.1.2.0 | Updated bug in demos |
||
1.1.1.0 | py_D_cmap changed name to its official name: viridis |
||
1.1.0.0 | added info and updated colormaps and demo to accept an argument for the size of the colormap
|
||
1.0.0.0 |