Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

increase dimensions and reduce white space in profile plots? #26

Open
iantaylor-NOAA opened this issue Jun 26, 2023 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@iantaylor-NOAA
Copy link
Contributor

iantaylor-NOAA commented Jun 26, 2023

Two trivial tweaks to the plots which helped for petrale:

  1. Increasing the plot sizes from h = 7, w = 7 to h = 8, w = 8 in two places in profile_plot() made the figures more readable for petrale where there are lots of likelihood components overlapping and where the target and limit reference points are lower than for non-flatfish so the legend conflicts with the lines. Examples of the larger plots are in facilitate making profile and retro plots after manual changes to the models? #25. I don't know if all stocks would benefit from the larger size such that it should stay hardwired, or if it should be added as a user-controlled option.

  2. White space can be reduced by changing

    par(mfrow = panel)

    to par(mfrow = panel, mar = c(4, 4, 2, 2), oma = c(1, 1, 1, 1)) so that it matches
    par(mfrow = c(2, 2), mar = c(4, 4, 2, 2), oma = c(1, 1, 1, 1))

@iantaylor-NOAA iantaylor-NOAA added the enhancement New feature or request label Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant