skewt_lines: Add line to a Skew-T diagram

Description Usage Arguments Value Examples

Description

Calculate X and Y coordinates for lines to be drawn on Skew-T diagram; Draw any line on Skew-T diagram using temperature and pressure as coordinates

Usage

1
skewt_lines(temp, pressure, ptop = 100, ...)

Arguments

temp

coordinates to be used based on air temperature vector

pressure

coordinates to be used base on air pressure vector

ptop

upper limit of drawn trajectory (default: 100 hPa); use only if a line goes beyond the drawing area

...

other graphical parameters that can be passed to 'lines()' function, such as 'lwd', 'lty', 'col', etc.

Value

adds line on a pre-defined Skew-T plot

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# take a sample sounding profile:
data("sounding_vienna")
attach(sounding_vienna)

# draw empty Skew-T plot:
skewt_plot(temp_stripes = TRUE, close_par = FALSE)

# draw line for dew-point temperature:
skewt_lines(dpt, pressure, type = 'l', col = 'forestgreen', lwd = 2.5) 
# draw line for air temperature:
skewt_lines(temp, pressure, type = 'l', col='red', lwd = 2.5) 

thunder documentation built on March 18, 2021, 5:06 p.m.