R/stickplot.dat.arrows.R
stickplot.dat.arrows.Rd
windspeed and direction helper functions for base plotting
stickplot.dat.arrows(DateTime, WSPD, WD, data, ...)
Date and time field as.POSIXct
Wind speed in m/s
Wind direction in degrees
data.frame()
draws line segments in the direct of wind with length corresponding to speed.
if (FALSE) {
# wx.dat2005=read.table("https://www.ndbc.noaa.gov/view_text_file.php?filename=lonf1h2005.txt.gz&dir=data/historical/stdmet/",sep="",header=T,na.strings=c("99","999","9999.0"))
# plot(WSPD~DateTime.EST,wx.dat2005.tmp,type="n",ylab="Wind Speed (m/s)",ylim=c(-20,30))
# stickplot.dat.arrows(DateTime.EST,WSPD,WD,wx.dat2005.tmp,col="green",lty=1,lwd=1)
}