Multiple contour plots, same colour bar

Hi,
I have a script that imports 32 individual sets of data and creates a contour plot of each one. As the data sets are all quite similar and all have the same contour matrix (an array incrementing at set intervals), I'd like to use the same colour bar on each plot, so the same contour value on each graph has the same colour. At the moment, as the limits of each plot are slightly different, the colour bar changes.
Thanks for the help

 採用された回答

Andrew Newell
Andrew Newell 2011 年 5 月 20 日

2 投票

You can use caxis to set the limits of each colorbar.

1 件のコメント

Thomas
Thomas 2011 年 5 月 23 日
Thanks for the reply, that worked perfectly.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeContour Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by