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.

回答(1 个)

Star Strider
Star Strider 2016-3-3

0 个投票

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.

类别

在 帮助中心 和 File Exchange 中查找有关 Contour Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by