Code covered by the BSD License  

Highlights from
Fire and/or Custom Colormap Function

Be the first to rate this file! 30 Downloads (last 30 days) File Size: 2.99 KB File ID: #35730
image thumbnail

Fire and/or Custom Colormap Function

by

 

Use the 'fire' colormap in Matlab, or create your own.

| Watch this File

File Information
Description

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.

Required Products MATLAB
MATLAB release MATLAB 7.9 (R2009b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us