viridis_white: a modified viridis colormap
Updated 10 Jun 2021
The viridis_white colormap is a modification of the Viridis colormap that was introduced in Matplotlib in 2015. In viridis_white, the yellowish sequence is replaced by a white sequence. It allows some additional flexibility when it comes to using a colormap on a white background.
The viridis_white colormap is based on the following Python implementation: https://docs.obspy.org/packages/autogen/obspy.imaging.cm.html
The present submission contains
- viridis_white.m: the function that creates the viridis_white colormap
- viridis.m: the viridis colormap in Matlab for comparison purpose 
- Documentation.mlx: A Matlab LiveScript that illustrates how th viridis_white colormap looks like can be used
Any comment, question or suggestion is welcome
 Ander Biguri (2021). Perceptually uniform colormaps (https://www.mathworks.com/matlabcentral/fileexchange/51986-perceptually-uniform-colormaps), MATLAB Central File Exchange. Retrieved June 9, 2021.
E. Cheynet. viridis_white: a Modified Viridis Colormap. Zenodo, 2021, doi:10.5281/ZENODO.4922271.
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: Perceptually uniform colormaps
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!