wind.rose: Draw Wind Rose

View source: R/wind.rose.R

wind.roseR Documentation

Draw Wind Rose

Description

Display a wind rose on a map.

Usage

wind.rose(
  longitude,
  latitude,
  radius = 0.3,
  pos = 3,
  bearing = 0,
  units = "inches",
  margin = 0.04,
  convert = TRUE,
  cex = 0.6,
  ...
)

Arguments

radius

Numerical value specifying the size (as a radius) of the wind rose. The distance units are specified by units.

pos

Numerical value specifying the position of the wind rose on the graph. It may take the following values: 1 = Lower-left corner, 2 = Lower-right corner, 3 = Upper-right corner and 4 = Upper-left corner. The default is 3.

bearing

Numerical value specifying the degrees in radians that the wind rose is to be rotated counter-clockwise.

units

Character string specifying the length units to be used when interpreting the ‘radius’ argument. It may take the following values: ‘user’ (user coordinate system), ‘in’ or ‘inches’ (in inches) or ‘km’ or ‘kilometers’ (in kilometers). The default is ‘inches’.

convert

Whether or not to convert radius units to degree scale when units = ‘km’ or ‘kilometers’.

cex

Character expansion value for the wind rose labels.

longitude.latitude

Coordinates specifying the center location of the wind rose is to be drawn.

Examples

# Gulf of Saint-Lawrence base map:
map()
wind.rose()

TobieSurette/gulf.spatial documentation built on Sept. 26, 2024, 7:41 p.m.