viridis_white: a modified viridis colormap
viridis_white: a modified viridis colormap
Summary
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
Content
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 [1]
- Documentation.mlx: A Matlab LiveScript that illustrates how th viridis_white colormap looks like can be used
Any comment, question or suggestion is welcome
Example
References
[1] Ander Biguri (2021). Perceptually uniform colormaps (https://www.mathworks.com/matlabcentral/fileexchange/51986-perceptually-uniform-colormaps), MATLAB Central File Exchange. Retrieved June 9, 2021.
Cite As
E. Cheynet. viridis_white: a Modified Viridis Colormap. Zenodo, 2021, doi:10.5281/ZENODO.4922271.
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
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 | |
---|---|---|---|
1.2 | See release notes for this release on GitHub: https://github.com/ECheynet/viridis_white/releases/tag/v1.2 |
||
1.0.1.0 | See release notes for this release on GitHub: https://github.com/ECheynet/viridis_white/releases/tag/v1.0.1 |
||
1.0 |