Fire and/or Custom Colormap Function
FIRE Blue-Purple Hot colormap
FIRE(M) returns an M-by-3 matrix containing a "fire" colormap.
FIRE, by itself, is the same length as the current figure's colormap. If no figure exists, MATLAB creates one.
To add this colormap as a default map, use 'addpath' with the directory containing 'fire.m'.
To reset the colormap of the current figure use: colormap(fire)
see also: HSV, GRAY, HOT, COOL, BONE, COPPER, FLAG, PINK, COLORMAP, RGBPLOT.
To create any custom colormap, see the directions on line 23 of this m-file.
Cite As
Tristan Ursell (2025). Fire and/or Custom Colormap Function (https://www.mathworks.com/matlabcentral/fileexchange/35730-fire-and-or-custom-colormap-function), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > Formatting and Annotation > Colormaps > Red >
- MATLAB > Graphics > Formatting and Annotation > Colormaps > Orange >
- MATLAB > Graphics > Formatting and Annotation > Colormaps > Yellow >
- MATLAB > Graphics > Formatting and Annotation > Colormaps > Purple >
- MATLAB > Graphics > Images > Modify Image Colors >
Tags
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.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |