ss3diags function to add legend to plots
add_legend(
legendlabels,
legendloc = "topleft",
legendorder = NULL,
legendncol = 1,
legendcex = 1,
legendsp = 0.9,
col = NULL,
pch = NULL,
lty = 1,
lwd = 2,
type = "l"
)
Optional vector of labels to include in legend.
Location of legend. Either a string like "topleft" or a
vector of two numeric values representing the fraction of the maximum in
the x and y dimensions, respectively. See help("legend")
for more info on
the string options.
Optional vector of model numbers that can be used to have the legend display the model names in an order that is different than that which is represented in the summary input object.
Number of columns for the legend.
Allows to adjust legend cex. Defaults to 1.
Space between legend labels
Optional vector of colors to be used for lines. Input NULL
Optional vector of plot character values
Optional vector of line types
Optional vector of line widths
Type parameter passed to points (default 'o' overplots points on top of lines)