POLARMAP: Polarized colormap
When representing "polarized" data for which zero and sign are meaningful (like for instance, a gravity anomalies map), it is useful to have a colormap where white stands for zero value, and greater magnitudes are plotted as colors with increasing saturation.
This little function POLARMAP has two different usages:
- proposes a new red-white-blue colormap that is standard for this purpose (same usage as other Matlab colormaps);
- applies a zero-center white shading to any existing colormap, like JET or HSV, or user defined.
Type "doc polarmap" for complete help, syntax and examples.
Citation pour cette source
François Beauducel (2024). POLARMAP: Polarized colormap (https://www.mathworks.com/matlabcentral/fileexchange/37099-polarmap-polarized-colormap), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Graphics > Formatting and Annotation > Colormaps > Red >
- MATLAB > Graphics > Formatting and Annotation > Colormaps > Blue >
- MATLAB > Graphics > Formatting and Annotation > Colormaps > White >
Tags
Remerciements
A inspiré : MatPlotLib Perceptually Uniform Colormaps
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.1.0.0 | Reverse default colors (blue-white-red) which is more logical... |
||
1.0.0.0 |