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

 Risposta accettata

Andrew Newell
Andrew Newell il 20 Mag 2011

2 voti

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

Più risposte (0)

Categorie

Community Treasure Hunt

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

Start Hunting!

Translated by