Pcolormesh with same scale for different graphs

Hi everyone,
I am trying to plot several data in different pcolormesh graphs. The output is fine, but I’d like to have all of them in the same colorbar scale, and not each one with its own scale.
Is there any possibility to, by plotting separately each graph, have the same color scale for all of them.

Cheers, Dani.

Does this example help?
https://matplotlib.org/stable/gallery/images_contours_and_fields/pcolormesh_levels.html#making-levels-using-norms

Or, more simply, you can set vmin and vmax, as in this example
https://matplotlib.org/stable/gallery/images_contours_and_fields/pcolormesh_levels.html#centered-coordinates

Yeah!! It actually worked!! Thank you so much :slight_smile:
Regards, Dani.

1 Like