Learn R Programming

r4ss (version 1.11)

SSplotCatch: Plot catch related quantities.

Description

Plot catch related quantities from Stock Synthesis output. Plots include harvest rate, continuous F, landings, and discard fraction.

Usage

SSplotCatch(replist, subplots = 1:9, add = FALSE, areas = 1,
plot = TRUE, print = FALSE, fleetlty = 1,
fleetpch = 1, fleetcols = "default", fleetnames = "default", lwd = 1,
areacols = "default", areanames = "default", forecastplot = TRUE,
plotdir = "default", showlegend = TRUE, legendloc =
"topleft", xlab = "Year", labels = c("Harvest rate/Year",
"Continuous F", "Landings", "Total catch", "Predicted Discards",
"Discard fraction", "(mt)", "(numbers x1000)", "Observed and expected"),
catchasnumbers = FALSE, pwidth = 7, pheight
= 7, punits = "in", res = 300, ptsize = 12)

Arguments

replist
list created by SS_output
subplots
vector controlling which subplots to create
add
add to existing plot? (not yet implemented)
areas
optional subset of areas to plot for spatial models
plot
plot to active plot device?
print
print to PNG files?
fleetlty
vector of line type by fleet
fleetpch
vector of plot character by fleet
fleetcols
vector of colors by fleet
fleetnames
optional replacement for fleenames used in data file
lwd
line width
areacols
vector of colors by area
areanames
names for areas. Default is to use Area1, Area2,...
forecastplot
add points from forecast years
plotdir
directory where PNG or PDF files will be written. by default it will be the directory where the model was run.
showlegend
put legend on plot
legendloc
location of legend (see ?legend for more info)
xlab
x-label for all plots
labels
vector of labels for plots (titles and axis labels)
catchasnumbers
is catch in numbers instead of biomass?
pwidth
width of plot written to PNG file
pheight
height of plot written to PNG file
punits
units for PNG file
res
resolution for PNG file
ptsize
ptsize for PNG file

Value

    See Also

    SS_plots, SS_output