Learn R Programming

plotrix (version 2.1-5)

oz.windrose.legend: Display an Australian wind rose legend.

Description

Displays a wind rose legend in the style used by the Australian Bureau of Meteorology.

Usage

oz.windrose.legend(speed.col=c("#dab286","#fe9a66","#ce6733","#986434"),
  speed.width=c(0.2,0.4,0.6,0.8),legend.pos=27)

Arguments

speed.col
Colors representing speed ranges.
speed.width
Half widths of the bars representing speed ranges.
legend.pos
The vertical position of the wind rose legend. The Australian Bureau of Meteorology displays the legend at the top of the plot

Value

  • nil

See Also

oz.windrose

Examples

Run this code
plot(0,xlim=c(-20,20),ylim=c(-20,20),type="n",axes=FALSE,xlab="",ylab="")
 par(xpd=TRUE)
 oz.windrose.legend()
 par(xpd=FALSE)

Run the code above in your browser using DataLab