How to creat new colormap with new colorbar and then How to use it through the CODE?

1 view (last 30 days)
I want three basic colors which are Brown, Yellow and Green then want to be able to create an algorithm to scale these to a number of variants depending on the size of the colormap. Is there any basic way to do this?

Accepted Answer

Mohammad Abouali
Mohammad Abouali on 7 Apr 2015
call colormapeditor() within matlab and create the colormap that you want.

More Answers (0)


Find more on Colormaps in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by