viridis_white: a modified viridis colormap

版本 1.2 (626.8 KB) 作者: E. Cheynet
viridis_white is a variant of the Viridis colormap that replaces the yellow sequence with a white one.

117.0 次下载

更新时间 2021/6/10

来自 GitHub

在 GitHub 上查看许可证

viridis_white: a modified viridis colormap

View viridis_white: a modified viridis colormap on File Exchange

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.

引用格式

E. Cheynet. viridis_white: a Modified Viridis Colormap. Zenodo, 2021, doi:10.5281/ZENODO.4922271.

查看更多格式
MATLAB 版本兼容性
创建方式 R2020b
兼容任何版本
平台兼容性
Windows macOS Linux
致谢

参考作品: Perceptually uniform colormaps

Community Treasure Hunt

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

Start Hunting!
要查看或报告此 GitHub 附加功能的问题,请访问其 GitHub 仓库
要查看或报告此 GitHub 附加功能的问题,请访问其 GitHub 仓库