colormap_whitejet(), without any arguments, changes the colormap to a jet colormap with 0 as white, and changes the color axes limits from 0 to the current color axes maximum.
map = colormap_whitejet(...) returns the colormap.
... = colormap_whitejet(hax,N) uses the axes specified by "hax" instead of the current axes, and creates a colormap with N values. Note that both inputs are optional.
Inputs (Optional):
- hax - Handle to axes (default: current axes)
- N - # of rows of desired colormap (default: 256)
Outputs (Optional):
- map - Resultant "white jet" colormap
Cite As
Nade Sritanyaratana (2024). colormap_whitejet (https://www.mathworks.com/matlabcentral/fileexchange/48445-colormap_whitejet), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > Formatting and Annotation > Colormaps > White >
Tags
Acknowledgements
Inspired: squink(Colors,Gamma)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.