viridis_white: a modified viridis colormap

Version 1.2 (627 KB) by E. Cheynet
viridis_white is a variant of the Viridis colormap that replaces the yellow sequence with a white one.
294 Downloads
Updated 10 Jun 2021

viridis_white: a modified viridis colormap

View viridis_white: a modified viridis colormap on File Exchange Donation

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

Mean wind speed at 10 m above the surface in Northern Europe

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.

View more styles
MATLAB Release Compatibility
Created with R2020b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
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

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.