XLPack for Matplotlib Experimental Version 0.1
Reference Manual
Loading...
Searching...
No Matches

◆ Quiver()

Function Quiver ( Nx As  Long,
Ny As  Long,
X() As  Double,
Y() As  Double,
U() As  Double,
V() As  Double,
C() As  Long,
Optional KwArgs As  String 
)

2D field of arrows

Purpose
Plot a 2D field of arrows.
Returns
PyObject (Quiver).
(On error, Nothing is returned)
Parameters
[in]NxNumber of points in x direction. (Nx > 0)
[in]NyNumber of points in y direction. (Ny > 0)
[in]X()Array X(LX1 - 1, LX2- 1) (LX1 >= Ny, LX2 >= Nx)
The x coordinates of the arrow locations.
[in]Y()Array Y(LY1 - 1, LY2- 1) (LY1 >= Ny, LY2 >= Nx)
The y coordinates of the arrow locations.
[in]U()Array U(LU1 - 1, LU2- 1) (LU1 >= Ny, LU2 >= Nx)
The x direction components of the arrow vectors.
[in]V()Array V(LV1 - 1, LV2- 1) (LV1 >= Ny, LV2 >= Nx)
The y direction components of the arrow vectors.
[in]C()Array C(LC - 1, LC2 - 1) (LC1 >= Ny, LC2 >= Nx)
Numeric data that defines the arrow colors by colormapping via norm and cmap.
[in]KwArgs(Optional)
Optional keyword parameters. (default = "")
Example
Plot a 2D field of arrows.