Define scale in contourplot

I have several different contour plots, and therefore I need them with the same color-scale. I know their general values, say between 0-10, 0-1000, however I calculate them. I need their colors to be the same scale.

Answers (1)

Star Strider
Star Strider on 3 Mar 2016
See the documentation on the colormap function. You can also define the contour levels in the contour function if you need to do that as well.

Categories

Asked:

on 3 Mar 2016

Answered:

on 3 Mar 2016

Community Treasure Hunt

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

Start Hunting!