Plot selectivity, including retention and other quantities, with additional plots for time-varying selectivity.
SSplotSelex(replist, infotable = NULL, fleets = "all",
fleetnames = "default", sizefactors = c("Lsel"),
agefactors = c("Asel", "Asel2"), years = "endyr", minyr = -Inf,
maxyr = Inf, season = 1, sexes = "all", selexlines = 1:6,
subplot = 1:25, skipAgeSelex10 = TRUE, plot = TRUE,
print = FALSE, add = FALSE, labels = c("Length (cm)", "Age (yr)",
"Year", "Selectivity", "Retention", "Discard mortality"), col1 = "red",
col2 = "blue", lwd = 2, fleetcols = "default",
fleetpch = "default", fleetlty = "default", spacepoints = 5,
staggerpoints = 1, legendloc = "bottomright", pwidth = 7,
pheight = 7, punits = "in", res = 300, ptsize = 12,
cex.main = 1, showmain = TRUE, plotdir = "default",
verbose = TRUE)
List created by SS_output
Optional table of information controlling appearance of plot and legend. Is produced as output and can be modified and entered as input.
Optional vector to subset fleets for which to make plots
Optional replacement for fleenames used in data file
Which elements of the factors column of SIZE_SELEX should be included in plot of selectivity across multiple fleets?
Which elements of the factors column of AGE_SELEX should be included in plot of selectivity across multiple fleets?
Which years for selectivity are shown in multi-line plot (default = last year of model).
optional input for minimum year to show in plots
optional input for maximum year to show in plots
Which season (if seasonal model) for selectivity shown in multi-line plot (default = 1).
Optional vector to subset genders for which to make plots (1=females, 2=males)
Vector to select which lines get plotted. values are 1. Selectivity, 2. Retention, 3. Discard mortality, 4. Keep = Sel*Ret, 5. Dead = Sel*(Ret+(1-Ret)*Mort).
Vector controlling which subplots to create
Exclude plots for age selectivity type 10 (selectivity = 1.0 for all ages beginning at age 1)?
Plot to active plot device?
Print to PNG files?
Add to existing plot (not yet implemented)
vector of labels for plots (titles and axis labels)
color for female growth curve
color for male growth curve
Line widths for plots
Optional vector of colors for each fleet (in multi-fleet plots)
Optional vector of plot characters for each fleet (in multi-fleet plots)
Optional vector of line types for each fleet (in multi-fleet plots)
number of years between points shown on top of lines (for long timeseries, points every year get mashed together)
number of years to stagger the first point (if
spacepoints > 1
) for each line (so that adjacent lines have points in
different years)
location of legend. See ?legend for more info.
width of plot
height of plot
units for PNG file
resolution for PNG file
point size for PNG file
character expansion for plot titles
Include main title at top of plot?
Directory where PNG files will be written. By default it will be the directory where the model was run.
report progress to R GUI?