quiver | R Documentation |
A quiver plot displays velocity vectors as arrows with components
(u,v)
at the points (x,y)
.
quiver(x, y, u, v,
scale = 0.05, angle = 10, length = 0.1, ...)
x, y |
x,y-coordinates of start points of the arrows. |
u, v |
x,y-coordinates of start points. |
scale |
scales the length of the arrows. |
angle |
angle between shaft and edge of the arrows. |
length |
length of the arrow edges. |
... |
more options presented to the |
The matrices x, y, u, v
must all be the same size and contain
corresponding position and velocity components.
However, x and y can also be vectors.
Opens a graph window and plots the velocity vectors.
vectorfield
, arrows
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.