Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

quiver

Quiver or Velocity Plot


Description

A quiver plot displays velocity vectors as arrows with components (u,v) at the points (x,y).

Usage

quiver(x, y, u, v,
           scale = 0.05, angle = 10, length = 0.1, ...)

Arguments

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 arrows primitive.

Details

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.

Value

Opens a graph window and plots the velocity vectors.

See Also


pracma

Practical Numerical Math Functions

v2.3.3
GPL (>= 3)
Authors
Hans W. Borchers [aut, cre]
Initial release
2021-01-22

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.