Code covered by the BSD License  

Highlights from
MakeColorMap

5.0

5.0 | 6 ratings Rate this file 87 Downloads (last 30 days) File Size: 1.94 KB File ID: #17552
image thumbnail

MakeColorMap

by

 

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 (10)
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.

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.

04 Dec 2013 Pearl

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

16 Jan 2013 Pia

This is brilliant - just what I needed.

10 Jul 2012 Bill

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.

10 Jul 2012 Bill

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

very useful tool.

24 Apr 2009 Thorwald Stein

Very easy to use with good results.

Updates
23 Dec 2009

generating license

29 Dec 2009

Copyright

03 Nov 2014

as required toolbox

Contact us