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 Exchange에서 Contour Plots에 대해 자세히 알아보기

질문:

2011년 5월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by