Description Usage Arguments Note
Plot height (across different vertical levels) versus wind speed with error bars.
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
)
|
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. |
the error bar is horizontally drawn, i.e., a flip version of a typical error bar plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.