crameri perceptually uniform scientific colormaps

Version 1.09 (1,72 Mo) par Chad Greene
Perceptually uniform scientific colormaps from Fabio Crameri.
3,7K téléchargements
Mise à jour 12 nov. 2022

View crameri perceptually uniform scientific colormaps on File Exchange

About

A simple Matlab function for Fabio Crameri's perceptually uniform scientific colormaps.

Usage

crameri without any inputs displays the options for colormaps.

crameri ColormapName sets the colormap of the current axes.

cmap = crameri('ColormapName') returns a 256x3 colormap. For a visual depiction of valid colormap names, type crameri.

cmap = crameri('-ColormapName') a minus sign preceeding any ColormapName flips the order of the colormap.

cmap = crameri(...,NLevels) specifies a number of levels in the colormap. Default value is 256.

cmap = crameri(...,'pivot',PivotValue) centers a diverging colormap such that white corresponds to a given value and maximum extents are set using current caxis limits. If no PivotValue is set, 0 is assumed.

Citation

Crameri, Fabio. (2021). Scientific colour maps (7.0.1). Zenodo. https://doi.org/10.5281/zenodo.5501399

Citation pour cette source

Crameri, Fabio. Scientific Colour Maps. Zenodo, 2019, doi:10.5281/ZENODO.1243862.

Afficher d’autres styles

Crameri, Fabio. “Geodynamic Diagnostics, Scientific Visualisation and StagLab 3.0.” Geoscientific Model Development, vol. 11, no. 6, Copernicus GmbH, June 2018, pp. 2541–62, doi:10.5194/gmd-11-2541-2018.

Afficher d’autres styles
Compatibilité avec les versions de MATLAB
Créé avec R2017b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur File Operations dans Help Center et MATLAB Answers
Remerciements

Inspiré par : cmocean perceptually-uniform colormaps

A inspiré : OHS 60 Advance Controller

Community Treasure Hunt

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

Start Hunting!

Les versions qui utilisent la branche GitHub par défaut ne peuvent pas être téléchargées

Version Publié le Notes de version
1.09

Connect to github

1.08

Update to version 7.0 colormaps.

1.07

Fixed a bug wherein any colormap with a capital letter in it (e.g., grayC) was inaccessible. Thanks Tim.

1.06

Updated from Crameri's version 4.0 to version 6.0.

1.05

Previously forgot to include turku. All of them should be in there now.

1.04

Added oslo colormap (previously forgot to include it in the .mat file).

1.03

Changed screenshot.

1.02

Updated screenshot and edited input checking (regexp replaced with strncmp, as suggested by Stephen Cobeldick).

1.01

Published as a .zip because the .mltbx upload failed.

1.0

Pour consulter ou signaler des problèmes liés à ce module complémentaire GitHub, accédez au dépôt GitHub.
Pour consulter ou signaler des problèmes liés à ce module complémentaire GitHub, accédez au dépôt GitHub.