How to draw two 3D surface plots where colors represent same value on both surfaces

How do I draw two 3D surface plots where the surface patch colors have
consistent meaning?

Currently, I'm just doing two plot_surface commands, each of which has
cmap=cm.jet. The two surfaces have different shapes and sizes and have
different highest/lowest points. I seems that the colormap is automatically
normalised to the highest/lowest values for each surface independently (e.g.
the highest point on both surfaces is red, even though they are different
values). Instead, I want the same color to represent the same value on both

Any ideas will be appreciated. Perhaps there's a way to force the colormap
to be normalised to a specified range of values?



View this message in context:
Sent from the matplotlib - users mailing list archive at