Description Usage Arguments Value See Also Examples
add shading or lines to show the sections of a profile for a plot
1 2 | add_sections(p, scale, shade = FALSE, ymin = NULL, ymax = NULL,
opacity = 0.3)
|
p |
Plot to add shading to |
scale |
The number of data points in each third of the profile.
See |
shade |
Add shading of sections or else add lines separating sections |
ymin |
Minimum value of the y axis |
ymax |
Maximum value of the y axis |
opacity |
The opacity of the shading |
Ploltly object that has section shading or lines
get_profile
for a description of profile and scale.
Other plotting functions: get_color
,
get_energy_profiles
,
min_max_plot
,
plot_3d_landscape
,
plot_3d_profiles
,
plot_active
,
plot_features_profiles
,
plot_features_profile
,
plot_profiles
, plot_profile
1 2 3 | profile <- get_profile(df, 300, 200, 500)
p <- plot_profile(profile, "the best profile", sections = NULL)
add_sections(p, scale = 500)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.