phase.plot: Plot phases with arrows
Description
Plot phases with arrows
Usage
phase.plot(
x,
y,
phases,
arrow.len = min(par()$pin[2]/30, par()$pin[1]/40),
arrow.col = "black",
arrow.lwd = arrow.len * 0.3
)
Arguments
- x
X-coordinates
- y
Y-coordinates
- phases
Phases
- arrow.len
Size of the arrows. Default is based on plotting region.
- arrow.col
Arrow line color.
- arrow.lwd
Width/thickness of arrows.
Author
Tarik C. Gouhier (tarik.gouhier@gmail.com)
Huidong Tian provided a much better implementation of the phase.plot function
that allows for more accurate phase arrows.
Original code based on WTC MATLAB package written by Aslak Grinsted.
Examples
Run this code# Not run: phase.plot(x, y, phases)
Run the code above in your browser using DataLab