Re: [Matplotlib-users] Set X,Y,and Z data for a pcolormesh

2014-04-03 Thread Benjamin Root
So, you would like to plot a surface, and then have some slices through it? Perhaps you are looking for something like this? http://matplotlib.org/examples/mplot3d/contourf3d_demo2.html In your case, I would use the contourf()'s "zdir" argument to set the direction of the slice's normal vector, an

Re: [Matplotlib-users] Set X,Y,and Z data for a pcolormesh

2014-04-03 Thread Oliver
If I understand your intent well, then you want to make slices through a 3D volume and show such slice planes. I’ve always done this with the various functions of an Axes3D instance that allow you to specify the slice position. On the matplotlib examples page, there is a good example that showed m