Is it possible to layer a translucent contourf over an image?
I tried the obvious, but it didn't seem to work:
im = imshow(Z, interpolation='nearest', extent=extent, cmap=cm.bone)
v = axis()
cset = contourf(Z2, levels, hold='on', cmap=cm.jet, extent=extent, alpha=0.6)
Cheers,
Dave
···
--
Email: david.w.h.chin@...287...
David Chin wrote:
Is it possible to layer a translucent contourf over an image?
I tried the obvious, but it didn't seem to work:
im = imshow(Z, interpolation='nearest', extent=extent, cmap=cm.bone)
v = axis()
cset = contourf(Z2, levels, hold='on', cmap=cm.jet, extent=extent, alpha=0.6)
Dave,
You are right, that should work, but it doesn't--support for the alpha kwarg just isn't there. I'll fix it. Thanks for pointing it out.
Eric