myvec.myquiv

myvec.myquiv(u, v)[source]

Plots a 2D vector field using “sane” defaults for Matplotlib’s quiver.

Parameters:

u : NumPy 2darray

x components of the vector field w(x,y) = (u(x,y),v(x,y)). Note that u has to be a 2D array of the same dimension as v.

v : NumPy 2darray

y components of the vector field w(x,y) = (u(x,y),v(x,y)). Note that v has to be a 2D array of the same dimension as u.

Returns:

Nothing : None

See also

quiver
in the Matplotlib Example Code Repository