nmfs-swfsc-ast / ast-tasks

0 stars 0 forks source link

Formatting of NASC/CUFES/TRAWL Figure from reportSurvey #17

Closed jrenfree closed 1 year ago

jrenfree commented 1 year ago

@kstierhoff , can you help me with the formatting of the following figure? After I separated out the catches from Lasker and Lisa Marie, the figure labels (a,b,c,d) seem off. I'm also wondering if we should add titles to the catch maps to indicate which one is from Lasker and which one for Lisa Marie, but I suppose that could be specific in the figure caption.

Screenshot 2022-11-23 161017

jrenfree commented 1 year ago

Fixed the subplot labels by fixing the width definition in the ggsave command.

Screenshot 2022-11-28 083041

Should I also add "Lasker" and "Carnage" titles to the two right-most plots, or just specify them in the figure caption? If the former, do you know how to do that without messing up the subplot heights?

kstierhoff commented 1 year ago

I think you could just specify in the legend. If you add titles to c and d, you could use the annotate function in ggplot, but it might get complicated given how these plots are generated. I could help with that if you'd like to pursue it. I'd also make a note in the caption saying that CUFES (b) is only from Lasker (which explains the lack of data further north).

jrenfree commented 1 year ago

Feel free to take a stab at it. If too complicated then let's not worry about it and just describe it in the caption.

kstierhoff commented 1 year ago

I added annotations to the Figure. Looks like this. Thoughts? fig_nasc_cufes_haul_wt

jrenfree commented 1 year ago

Is it possible to position the label on top of the figure, i.e., next to c) and d)?

kstierhoff commented 1 year ago

Anything is possible, @jrenfree, it's just how much time you want to invest! Kidding, I'll take a stab using {cowplot}.

kstierhoff commented 1 year ago

Which option do you prefer? I didn't commit these in code, but I can implement whichever one you prefer.

fig_nasc_cufes_haul_wt

jrenfree commented 1 year ago

Ooof tough call. I think I prefer the label on top of the figure, but perhaps centered and not directly next to the subplot label

kstierhoff commented 1 year ago

I'll commit the changes for the cowplot option. I'll take a stab at adding spaces to center the label over the panel, and you can tweak it as necessary.

kstierhoff commented 1 year ago

Restored original code options. Left annotation code but commented-out, in case we want to revisit it.