quiver
Vector plot.
Syntax
quiver(X, Y, U, V)
quiver(U, V)
quiver(..., LineSpec)
quiver(..., propertyName, propertyValue)
quiver(parent, ...)
gr = quiver(...)
Input argument
X - x-coordinates of bases of arrows: scalar, vector or matrix.
Y - y-coordinates of bases of arrows: scalar, vector or matrix.
U - x-components: scalar, vector or matrix.
V - y-components: scalar, vector or matrix.
LineSpec - Line style, marker and/or color: character vector or scalar string.
parent - a scalar graphics object value: parent container, specified as a axes.
propertyName - a scalar string or row vector character.
propertyValue - a value.
Output argument
gr - group of graphics object: arrows.
Description
quiver(X, Y, U, V) plots velocity vectors as arrows with components (U,V) at the point (X, Y).
quiver try to scale the arrow lengths so that they do not overlap.
Current implementation is slow but it can be optimized using DrawLater property of figure. It could be optimized in an next version by an builtin.
Examples
See also
History
Version | Description |
---|---|
1.0.0 | initial version |
Author
Allan CORNET
Last updated