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.
Define scale in contourplot
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Contour Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!