Instead of starting with dark blue like Jet, this colormap starts with white. It goes to pure blue from white, and then continues exactly as Jet does, ranging through shades blue, cyan, green, yellow, and red, and ending with dark red.
The attached picture shows how colormap can display some types of data better than the built-in Jet. Compare it with what is created using the Jet colormap by changing the 3rd line:
load flujet % built-in demo data
colormap(jetvar) % colormap(jet)
Drew Compston (2021). Jet Variant (https://www.mathworks.com/matlabcentral/fileexchange/34803-jet-variant), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!