If you wish to display data with a colormap, but wish to have a clear border between the data above and below a certain threshold, while keeping a clear color gradient elsewhere, then this might be a solution for you.
Kwin (2021). Composite colormap (https://www.mathworks.com/matlabcentral/fileexchange/59994-composite-colormap), 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!