plot_height_vs_wspd: Plot height (across different vertical levels) versus wind...

Description Usage Arguments Note

Description

Plot height (across different vertical levels) versus wind speed with error bars.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
plot_height_vs_wspd(
  df,
  x,
  y,
  title_txt = "",
  sub_title = "",
  caption_txt = "",
  multi_var_for_color = T,
  color_var = "source",
  show_error_bar = T,
  error_bar_height = 0.2
)

Arguments

df

data frame with wind speed information

x

X-axis variable name

y

Y-axis variable name

title_txt

plot title

sub_title

plot subtitle

caption_txt

plot caption name

multi_var_for_color

whether or not to use multiple colors (with each variable/column using different colors)

color_var

the variable (i.e., column) name to be used for different colors.

show_error_bar

show error bar or not

error_bar_height

the height of both the ends of the error bar.

Note

the error bar is horizontally drawn, i.e., a flip version of a typical error bar plot.


seunjeong/rwrf documentation built on Feb. 12, 2021, 4:07 p.m.