View source: R/plot-selex-mountains.R
plot_selex_mountains | R Documentation |
Create a plot of median selectivity as a set of overlapping "mountains" which are shaded top-down for visual appeal
plot_selex_mountains(
model,
yrs = NULL,
ages = 1:8,
scale = 1,
fill_num_colors = 20,
fill_col_upper = "darkblue",
fill_col_lower = "lightblue"
)
model |
The model output from Stock Synthesis as loaded by
|
yrs |
A vector of years to include in the plot. If |
ages |
A vector of ages to include in the plot |
scale |
A scaling factor to increase or decrease the height of the selectivity plots |
fill_num_colors |
The number of colors for the gradient of colors
between |
fill_col_upper |
The top color for the gradient color scheme |
fill_col_lower |
The bottom color for the gradient color scheme |
A ggplot2::ggplot()
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.