Plot fit to discard fraction from Stock Synthesis output file.
SSplotDiscard(
replist,
subplots = 1:2,
plot = TRUE,
print = FALSE,
plotdir = "default",
fleets = "all",
fleetnames = "default",
datplot = FALSE,
labels = c("Year", "Discard fraction", "Total discards", "for"),
yhi = 1,
ymax = NULL,
col1 = "blue",
col2 = "black",
pwidth = 6.5,
pheight = 5,
punits = "in",
res = 300,
ptsize = 10,
cex.main = 1,
verbose = TRUE
)
A list object created by SS_output()
.
Vector of which plots to make (1 = data only, 2 = with fit).
If plotdat = FALSE
then subplot 1 is not created, regardless of
choice of subplots
.
Plot to active plot device?
Print to PNG files?
Directory where PNG files will be written. by default it will be the directory where the model was run.
Optional vector to subset fleets for which plots will be made
Optional replacement for fleenames used in data file
Make data-only plot of discards? This can override the choice
of subplots
.
Vector of labels for plots (titles and axis labels)
Maximum y-value which will always be included in the plot (all data included regardless). Default = 1 so that discard fractions are always plotted on a 0-1 range, but total discard amounts which are greater than this value will exceed it.
Optional maximum y-value to include (useful if upper tails on discard amounts are very high)
First color to use in plot (for expected values)
Second color to use in plot (for observations and intervals)
Width of plot
Height of plot
Units for PNG file
Resolution of plots printed to files.
The default is res = 300
.
Point size for PNG file
Character expansion for plot titles
Report progress to R GUI?