Code covered by the BSD License  

Highlights from
Cold Colormap

5.0

5.0 | 2 ratings Rate this file 24 Downloads (last 30 days) File Size: 1.41 KB File ID: #23865
image thumbnail

Cold Colormap

by

 

22 Apr 2009 (Updated )

Creates a COLD colormap that complements the built-in HOT colormap

| Watch this File

File Information
Description

COLD Black-Blue-Cyan-White Color Map

COLD(M) returns an M-by-3 matrix containing a "cold" colormap
COLD, by itself, is the same length as the current figure's colormap. If no figure exists, MATLAB creates one.
 
Example:
 imagesc(peaks(500))
 colormap(cold); colorbar
 
Example:
 load topo
 imagesc(0:360,-90:90,topo), axis xy
 colormap(cold); colorbar

Acknowledgements

This file inspired Advanced Colormap, Perceptually Improved Colormaps, and Real2rgb & Colormaps.

MATLAB release MATLAB 7.6 (R2008a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
15 Oct 2010 Matteo Niccoli

I like your submission. Simple, well written code. Your example inspired me to make a similar one for my Perceptually improved colormaps submission.

22 Apr 2009 John D'Errico

You might add a see also for cool, an existing colormap with a slightly different shape in terms of colors.

Regardless, this adds another colormap option. As always, the help is what I'd expect.

Updates
29 Apr 2009

Added "cool" to the "See also" section, as suggested.

Contact us