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

 Respuesta aceptada

Andrew Newell
Andrew Newell el 20 de Mayo de 2011

2 votos

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

1 comentario

Thomas
Thomas el 23 de Mayo de 2011
Thanks for the reply, that worked perfectly.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Contour Plots en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 20 de Mayo de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by