Define scale in contourplot

1 vue (au cours des 30 derniers jours)
Philip Hoskinson
Philip Hoskinson le 3 Mar 2016
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.

Réponses (1)

Star Strider
Star Strider le 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.

Catégories

En savoir plus sur Contour Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by