currentarrows: Plot arrows and segments showing the size and direction of...

Description Usage Arguments Note

View source: R/currentarrows.R

Description

Plot arrows and segments showing the size and direction of currents.

Usage

1
2
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.

arrowsize

Arrow size.

center

Whether or not to center the arrow, defaults to TRUE.

Note

Needs further checking and elaboration.


geo documentation built on May 2, 2019, 5:22 p.m.