plot_management_catch_vs_tac_1_to_1: Plot the TAC vs realized catch on a 1-to-1 plot

View source: R/plot-management-catch-vs-tac-1-to-1.R

plot_management_catch_vs_tac_1_to_1R Documentation

Plot the TAC vs realized catch on a 1-to-1 plot

Description

Plot the TAC vs realized catch on a 1-to-1 plot

Usage

plot_management_catch_vs_tac_1_to_1(
  d,
  yr_font_size = 3,
  yrs_nudge_right = NULL,
  x_lim = c(0, 1000),
  y_lim = c(0, 800),
  leg_xmin = 20,
  leg_xmax = 620,
  leg_ymin = 700,
  leg_ymax = 780
)

Arguments

d

The data as read in using readr::read_csv() from the file "catch-targets.csv"

yr_font_size

The font size for the year labels

yrs_nudge_right

A vector of years to nudge the labels to the right instead of left for. If NULL, none will be modified

x_lim

Limits for the x-axis

y_lim

Limits for the y-axis

leg_xmin

The x-axis value for the left side of the legend

leg_xmax

The x-axis value for the right side of the legend

leg_ymin

The x-axis value for the bottom side of the legend

leg_ymax

The x-axis value for the top side of the legend

Value

A ggplot2::ggplot() object


pacific-hake/hake-assessment documentation built on July 21, 2024, 8:19 a.m.