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
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.
Ander Biguri (2023). Perceptually uniform colormaps (https://www.mathworks.com/matlabcentral/fileexchange/51986-perceptually-uniform-colormaps), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Fixed unnecessary preallocation
Updated error when interpolating in HSV from 1-0 and changed the name of parula to avoid shadowing.
Colormaps have a name now: Magma, Inferno, Plasma and Viridis.
Improved speed of interpolation and modified demo2 for fanciness.
Updated bug in demos
py_D_cmap changed name to its official name: viridis
added info and updated colormaps and demo to accept an argument for the size of the colormap