Plot Acoustic Trawl Survey Biomass Data
plot_ats.Rd
This function visualizes the acoustic trawl survey data, either biomass or another metric, depending on the choice. It provides options for customization of the resulting plot.
Usage
plot_ats(
M,
xlab = "Year",
ylab = "Acoustic trawl survey biomass",
xlim = NULL,
ylim = NULL,
alpha = 0.1,
biomass = TRUE,
color = "red"
)
Arguments
- M
List of model outputs. A list object like the one accepted by
.get_ats_df
.- xlab
Label for the x-axis. Default is "Year".
- ylab
Label for the y-axis. Default is "Acoustic trawl survey biomass".
- xlim
Optional range for the x-axis.
- ylim
Optional range for the y-axis.
- alpha
Opacity for the ribbon, if used. Default is 0.1.
- biomass
Logical flag. If
TRUE
, plots data related to biomass; ifFALSE
, plots data related to another metric. Default isTRUE
.- color
Color for the data points. Default is "red".