Code covered by the BSD License  

Highlights from
MakeColorMap

5.0
5.0 | 8 ratings Rate this file 47 Downloads (last 30 days) File Size: 1.94 KB File ID: #17552 Version: 1.3
image thumbnail

MakeColorMap

by

Doug Hull (view profile)

 

15 Nov 2007 (Updated )

Makes colormaps that smoothly blend from one color to another to optionally a third.

| Watch this File

File Information
Description

Many colormaps like Jet cause your eye to misunderstand important characteristics of your data. It is often best to simply blend from one color to another, or possibly through three. This file will makes such colormaps.

Acknowledgements

This file inspired Perceptually Improved Colormaps.

Required Products MATLAB
MATLAB release MATLAB 7.5 (R2007b)
MATLAB Search Path
/
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (12)
14 May 2015 cmo

cmo (view profile)

 
06 May 2015 Kevin Quinn

Works beautifully!

07 Aug 2014 Stephen Cobeldick

Dragon Yang: the error message is telling you that MATLAB cannot find this function on its path. Try downloading the M-file from this website and saving it to your working directory. Any search engine will provide step-by-step instructions too.

Comment only
04 Jul 2014 dragon yang

I used this function on matlab2012a and it throw error like "Undefined function 'makeColorMap' for input arguments of type 'double'.":
My called codes are belows:
" peaks;
a = makeColorMap([1 0 0],[1 1 1],[0 0 1]);
colormap(a)
colorbar"
Would you give some solution?
Thanks.

Comment only
04 Dec 2013 Pearl

Pearl (view profile)

Thank you for the code! It works well. I'm wondering how you made the color blocked in the image

16 Jan 2013 Pia

Pia (view profile)

This is brilliant - just what I needed.

Comment only
10 Jul 2012 Bill

Bill (view profile)

very handy. i just have a simple question. How did you make the categorical color key in your figure? It seems hard to it by specifying middle colors. Thank you.

Comment only
10 Jul 2012 Bill

Bill (view profile)

very handy. i just have a simple question. How did you make the categorical color key in your figure? It seems hard to it by specifying middle colors. Thank you.

22 Oct 2010 Matteo Niccoli

Really good submission Doug. And the videos are incredibly useful for someone like me who is just starting the transition from scripts to functions. Thank you.

10 Sep 2010 Dalle Ali

really helps my university-project further. very useful :)

15 Jul 2010 Arthur

Arthur (view profile)

very useful tool.

24 Apr 2009 Thorwald Stein

Very easy to use with good results.

Updates
23 Dec 2009 1.1

generating license

29 Dec 2009 1.2

Copyright

03 Nov 2014 1.3

as required toolbox

Contact us