arrow {WaveletComp} | R Documentation |
Plot an arrow
Description
It plots a polygon arrow subject to criteria concerning position, length, width, direction and color.
In plots of the cross-wavelet power (or wavelet coherency) spectrum of two time series as performed
by function wc.image
, arrows are used as a symbolic indicator of phase differences between
the series in the time/frequency domain.
This code has been developed by Huidong Tian (archived R package WaveletCo
).
Usage
arrow(x, y, l = 0.1, w = 0.3*l, alpha, col.arrow = "black")
Arguments
x |
the x coordinate of the center of the arrow |
y |
the y coordinate of the center of the arrow |
l |
the length of the arrow. Default: |
w |
the width of the arrow. Default: |
alpha |
the direction of the arrow, ranging from |
col.arrow |
color of the arrow. Default: |
Author(s)
Code developed by Huidong Tian.
References
Tian, H., and Cazelles, B., 2012. WaveletCo
.
Available at https://cran.r-project.org/src/contrib/Archive/WaveletCo/, archived April 2013; accessed July 26, 2013.