compass
Compass plot — vectors radiating from origin.
Syntax
Section titled “Syntax”h = compass(u, v, ...)h = compass(z, ...)Description
Section titled “Description”Draws arrows from the origin to each (u, v) point (or to each complex z). Useful for visualizing direction-and-magnitude data on a circular axis.
Example
Section titled “Example”compass([1 0 -1 0], [0 1 0 -1]) % four cardinal directions