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

 Accepted Answer

Andrew Newell
Andrew Newell on 20 May 2011
You can use caxis to set the limits of each colorbar.

1 Comment

Thanks for the reply, that worked perfectly.

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!