On Thu, Jan 19, 2012 at 12:01 PM, Moore, Eric (NIH/NIDDK)
[F] <firstname.lastname@example.org> wrote:
> -----Original Message-----
> From: alw46 [mailto:email@example.com]
> Sent: Thursday, January 19, 2012 11:31 AM
> To: firstname.lastname@example.org
> Subject: [Matplotlib-users] Plotting contour in X-Z plane
> Hi All,
> I have a question similar to one posted on Aug 30, 2011 titled
> "Plotting 2D
> contourf in Axes3D X-Z plane instead of X-Y plane". In fact, it
> question, and I can't seem to find a satisfactory answer anywhere.
> I've attached an image of what I've done in the X-Y plane for
> Like the other post, I'd like to do something similar to what I've done
> the X-Y direction, but in the X-Z and Y-Z planes. Since I've set up
> of points throughout the space, this effectively allows me to take
> cuts" in different directions in the space. But I can't seem to
> how to do it. I've switched around the "z-dir", as well as
> Y with Z in ax.contourf. For reference, I'm using matplotlib 1.1.0.
> I'm trying to achieve a similar affect to Mayavi's 'image_plane_widget'
> take volume slices, but using matplotlib.
> View this message in context: http://old.nabble.com/Plotting-contour-
> Sent from the matplotlib - users mailing list archive at Nabble.com.
I've attached a function that I
think does something similar to what you want, although without quite all of
the bells and whistles you're looking for. I'm sure there are better ways
than just plotting so many lines, but it worked for quickly looking at some
data for me.
That is a neat example. Do you mind if I clean it up and include it in
the mpl gallary?
I don’t mind. Please feel
free to do so.