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

2014-04-04 Thread James Andrew Venning
This worked brilliantly! Thank you so much! Secondary question now, is this: I have a contourf and a polygon made with ax.add_collection3d(a3.art3d.Poly3DCollection(verts, facecolors=[.5,.5,.5], linewidths=1,edgecolor='k',zorder=0)) How do I change it so the contourf is on top of the polygon? By

[Matplotlib-users] Set Z data on pcolor.

2014-04-02 Thread James Andrew Venning
Hi All, I wish to make a 3d volume with a series of slices through it. I have X-Z data at 15 different Y planes. In MATLAB, I would make a pcolor plot, then set the Z data to the original ydata, and the Y data to a constant. This works fine. I would like to achieve a similar result in matplotlib,