Yellow Colormap on contour lines

2 views (last 30 days)
juan sanchez
juan sanchez on 12 Jan 2022
Edited: David Goodmanson on 13 Jan 2022
How do you make a Yellow Colormap on contour lines like the one provided in the picture?

Answers (1)

David Goodmanson
David Goodmanson on 13 Jan 2022
Edited: David Goodmanson on 13 Jan 2022
Hello Juan
using: doc colormap will bring up all of the preconstructed choices. In this case it looks like 'hot' was used. 'autumn' might get the job done as well. After the countour plot is created, use the command for example, colormap('hot'). The colorbar command will add one of those as well.

Categories

Find more on Colormaps in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!