addWindBarb2: Add wind barb to a timeseries plot

View source: R/addWindBarb2.R

addWindBarb2R Documentation

Add wind barb to a timeseries plot

Description

Add a wind barb to the plot. Used internally in addWindBarbs2

Usage

addWindBarb2(
  x,
  y,
  speed,
  dir,
  extraBarbLength = 0,
  barbSize = 1,
  barbColor = "blue",
  barbLocation = "zero",
  ...
)

Arguments

x

x-axis position

y

y-axis position

speed

wind speed in knots

dir

wind direction in degrees clockwise from north

extraBarbLength

add length to barbs

barbSize

size of the barb

barbColor

color of the barbs

barbLocation

starting location for the barb. Currently accepts 'point' or 'zero'

...

additional arguments to be passed to arrows

References

https://commons.wikimedia.org/wiki/Wind_speed


MazamaScience/RAWSmet documentation built on May 6, 2023, 6:57 a.m.