Code covered by the BSD License  

Highlights from
FireIce (Hot/Cold) Colormap

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

FireIce (Hot/Cold) Colormap

by Joseph Kirk

 

29 Jul 2009

Creates a Custom Cyan-Blue-Black-Red-Yellow Colormap

| Watch this File

File Information
Description

FIREICE LightCyan-Cyan-Blue-Black-Red-Yellow-LightYellow Colormap
 
 FIREICE(M) Creates a colormap with M colors
 
Inputs:
 M - (optional) an integer between 1 and 256 specifying the number of colors in the colormap. Default is 128.
 
Outputs:
 CMAP - an Mx3 colormap matrix
 
Example:
 imagesc(peaks(500))
 colormap(fireice), colorbar
 
Example:
 imagesc(interp2(rand(10),2))
 colormap(fireice); colorbar
 
See also: hot, jet, hsv, gray, copper, bone, cold, vivid

MATLAB release MATLAB 7.6 (R2008a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
23 Jun 2011 Nicolas

Looks almost exactly how I want it to look. I want to keep the positive values red, and the neg values blue, but is there a way to make my zeroes dark blue? I can't seem to make it do that without completely inverting the colormap.

Thanks!

23 Jun 2011 Nicolas

oops, nevermind :)

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
colormap Joseph Kirk 29 Jul 2009 14:58:02
hot Joseph Kirk 29 Jul 2009 14:58:02
cold Joseph Kirk 29 Jul 2009 14:58:02
color Joseph Kirk 29 Jul 2009 14:58:02
map Joseph Kirk 29 Jul 2009 14:58:02

Contact us at files@mathworks.com