bluewhitered
by Nathan Childress
12 Oct 2003
(Updated 14 Oct 2003)
Blue, white, and red colormap for images with positive and negative values.
|
Watch this File
|
| File Information |
| Description |
BLUEWHITERED(M) returns an M-by-3 matrix containing a blue to white to red colormap, with white corresponding to the CAXIS value closest to zero. This colormap is most useful for images and surface plots with positive and negative values. BLUEWHITERED, by itself, is the same length as the current colormap.
Examples:
------------------------------
figure
imagesc(peaks(250));
colormap(bluewhitered(256)), colorbar
figure
imagesc(peaks(250), [0 8])
colormap(bluewhitered), colorbar
figure
imagesc(peaks(250), [-6 0])
colormap(bluewhitered), colorbar
figure
surf(peaks)
colormap(bluewhitered)
axis tight |
| MATLAB release |
MATLAB 6.5 (R13)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (8) |
| 23 Dec 2003 |
Yannis Cuypers
|
|
|
| 29 Apr 2004 |
Johnny Cash
|
|
|
| 31 Jul 2007 |
cynthia solly
|
|
|
| 29 Nov 2007 |
John Doe
|
|
|
| 04 May 2009 |
Kazem Edmond
|
|
|
| 03 Mar 2011 |
Kim Bostroem
|
|
|
| 02 Feb 2012 |
Sandra
|
|
|
| 27 Feb 2012 |
Ste
|
|
|
|
Contact us at files@mathworks.com