colormap extractions


I'm using matplot lib to make surface and contour plots of different
functions based on the set of data. (so I have a surface plot thats
basically f1(x,y) and a contour thats f2(x,y)) I want to color the surface
plot with the exact colors that are shown in the contour plot. (The surface
is a structure shape and the contour plot is the stress along the shape, I
want to plot the surface of the shape with the colors representing the
stress) I'm not sure how I can paste the colors from the contour plot onto
the surface. If anyone has anything that can help I'd really appreciate it,


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