2D Quiver in Axes3D

Howdy all,

Not sure if I'm being a giant noob, but is there any way to plot a
vector field (a la quiver) on the (x, y)-plane of an Axes3D object? The
behaviour I desire is exactly that of
http://matplotlib.sourceforge.net/mpl_toolkits/mplot3d/tutorial.html#filled-contour-plots

But instead of a contour plot on the (x, y)-plane, I want a quiver plot
there.

Any ideas?
Thank you :slight_smile:

···

--
Damon McDougall
http://damon-is-a-geek.com
B2.39
Mathematics Institute
University of Warwick
Coventry
West Midlands
CV4 7AL
United Kingdom

I just tried to see if it was possible with only a few tweaks, and it revealed some limitations in the mplot3d code with respect to handling collection objects subclassed from PolyCollections (and others). Unfortunately, I don’t see any immediate work-around. Could you please file a feature request? I may or may not be able to address it this weekend.

Ben Root

···

On Fri, Jul 20, 2012 at 8:50 AM, Damon McDougall <damon.mcdougall@…287…> wrote:

Howdy all,

Not sure if I’m being a giant noob, but is there any way to plot a

vector field (a la quiver) on the (x, y)-plane of an Axes3D object? The

behaviour I desire is exactly that of

http://matplotlib.sourceforge.net/mpl_toolkits/mplot3d/tutorial.html#filled-contour-plots

But instead of a contour plot on the (x, y)-plane, I want a quiver plot

there.

Any ideas?

Thank you :slight_smile:

> Howdy all,
>
> Not sure if I'm being a giant noob, but is there any way to plot a
> vector field (a la quiver) on the (x, y)-plane of an Axes3D object? The
> behaviour I desire is exactly that of
>
> http://matplotlib.sourceforge.net/mpl_toolkits/mplot3d/tutorial.html#filled-contour-plots
>
> But instead of a contour plot on the (x, y)-plane, I want a quiver plot
> there.
>
> Any ideas?
> Thank you :slight_smile:
>
>
I just tried to see if it was possible with only a few tweaks, and it
revealed some limitations in the mplot3d code with respect to handling
collection objects subclassed from PolyCollections (and others).
Unfortunately, I don't see any immediate work-around. Could you please
file a feature request? I may or may not be able to address it this
weekend.

Mate, you are a machine. I was thinking of tweaking myself, but it seems
like since you hit a brick wall I'll wait to see if you get a branch
going. When you do, I'll fork that bad boy.

Thanks for following up!

···

On Fri, Jul 20, 2012 at 10:12:43AM -0500, Benjamin Root wrote:

On Fri, Jul 20, 2012 at 8:50 AM, Damon McDougall > <damon.mcdougall@...287...>wrote:

Ben Root

--
Damon McDougall
http://damon-is-a-geek.com
B2.39
Mathematics Institute
University of Warwick
Coventry
West Midlands
CV4 7AL
United Kingdom