currentarrows: Plot arrows and segments showing the size and direction of currents.
Description
Plot arrows and segments showing the size and direction of currents.
Usage
currentarrows(data, maxsize = 0.5, maxn, col = "blue", lwd = 2, arrowsize = 0.2, center = T)
Arguments
data
Data in a list with components lat and lon with
decimal degrees, and current with the current magnitude.
maxsize
Maximum current segment size.
maxn
Current given with maxsize, defaults to
max(data$current).
col
Color of current arrows and segments.
lwd
Line width of the segments showing current.
center
Whether or not to center the arrow, defaults to TRUE.