NAWHIMAR Navy-White-Red Divergent Colormap with Automatic Scaling
Two MATLAB functions are provided. The first file "nawhimar.m" generates a divergent colormap, ranging from navy blue through bright blue (azure) to white and continuing through bright red to Maroon. The second file "nawhimar_auto.m" uses the current axes CLim property (or input values) to scale the colormap so that zero values appear white, and the maximal shade of blue/red is based on the amplitude relative the zero baseline.
Zitieren als
Thomas (2024). NAWHIMAR Navy-White-Red Divergent Colormap with Automatic Scaling (https://www.mathworks.com/matlabcentral/fileexchange/67087-nawhimar-navy-white-red-divergent-colormap-with-automatic-scaling), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Graphics > Formatting and Annotation > Colormaps > Blue >
Tags
Quellenangaben
Inspiriert von: bluewhitered
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 |