Perceptually uniform colormaps

New Improved colormaps taken from python.

11.1K Downloads

Updated 2 Oct 2019

View License

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 (2023). Perceptually uniform colormaps (https://www.mathworks.com/matlabcentral/fileexchange/51986-perceptually-uniform-colormaps), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
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
Now Colormaps accept an optional argument for the size of them, as Matlab colromaps do.

1.0.0.0