REDBLUE(M), is an M-by-3 matrix that defines a colormap.
The colors begin with bright blue, range through shades of blue to white, and then through shades of red to bright red. REDBLUE, by itself, is the same length as the current figure's colormap.
Adam Auton (2021). Red Blue Colormap (https://www.mathworks.com/matlabcentral/fileexchange/25536-red-blue-colormap), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired: scalar2colormap, BacStalk, autocmap, Red White Blue Colormap, Bipolar Colormap, CubeHelix Colormap Generator: Beautiful and Versatile!, ColorBrewer: Attractive and Distinctive Colormaps, rgbmap color maps, Binary and Multi-class SVM
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!