quiver: quiver

quiverR Documentation

quiver

Description

Add a vector field to a plot

Usage

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

Arguments

x

A numeric value specifying the x coordinate(s) of the start point of the arrow(s).

y

A numeric value specifying the x coordinate(s) of the start point of the arrow(s).

u

The u (easting) component vector.

v

The v (northing) component vector.

scale

A numeric value which scales the length of the arrow shaft.

angle

A numeric value which defines the angle (degrees) between the two sides of the arrow head.

length

A numeric value which adjusts the length of the arrow head.

...

Other graphical parameters that can be passed to arrows.

Note

This function is not exported.

Source

This function is copied from pracma::quiver but corrects a small bug in the function which stops the angle of arrow heads being adjustable.


edwardlavender/fvcom.tbx documentation built on Nov. 26, 2022, 10:28 p.m.