Code covered by the BSD License  

Highlights from
Cold Colormap

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

Cold Colormap


Joseph Kirk (view profile)


22 Apr 2009 (Updated )

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

| Watch this File

File Information

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.
 colormap(cold); colorbar
 load topo
 imagesc(0:360,-90:90,topo), axis xy
 colormap(cold); colorbar


This file inspired Advanced Colormap, Real2rgb & Colormaps, Perceptually Improved Colormaps, Cubehelix Colormaps: Beautiful, Distinct, Versatile!, and Color Brewer: Attractive And Distinctive 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

John D'Errico (view profile)

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.

29 Apr 2009 1.1

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

Contact us