Learn R Programming

RadioSonde (version 1.4)

station.symbol: Adds a meteorological surface station annotation to a plot.

Description

Adds a meteorological surface station annotation at the given coordinates. The annotation includes speed and direction of the wind, temperature, pressure, dewpoint ... to a given plot.

Usage

station.symbol(cx, cy, direction=0, speed=NA, fill=rep(0,length(cx)), temp=NA,
                  press=NA, dewpt=NA, circle=TRUE, cex=1)

Arguments

cx

x coordinate for location of the annotation.

cy

y coordinate for the annotation.

direction

Wind direction.

speed

Wind speed.

fill

Fill for visibility: 0 = clear skies, 1 = 25% obscured, 2 = 50% obscured, 3 = 75% obscured, 4 = no visibility

temp

Temperature value to plot symbol (must be a scalar). If NULL then no temperature value will be annotated.

press

Pressure value to plot symbol (must be a scalar). If NULL then no pressure value will be annotated.

dewpt

Dewpoint Temperature value to plot symbol (must be a scalar). If NULL then no dewpoint value will be annotated.

circle

If TRUE, will plot the usual station symbol with a circle at its base.

cex

Usual plotting parameter.

Value

Adds to a plot.

See Also

plotsonde, plotwind, skewt.axis

Examples

Run this code
# NOT RUN {
   plot(0:1, 0:1, type="n")
   station.symbol(0.5, 0.5, direction=130, speed=30, fill=3, 
                  temp=31, press=987, dewpt=26, cex=5)
# }

Run the code above in your browser using DataLab