sgaichas / SOEpaper

files for the State of the Ecosystem manuscript
0 stars 0 forks source link

multipanelfigure loses some y axis tick labels #5

Closed sgaichas closed 5 years ago

sgaichas commented 5 years ago

The issue seems to be with the conversion to grid in the capture_base_plot function. The first run through is fine but subsequent plots lose y axis labels. I can't seem to fix this with margin changes.

cowplot looks like it only works with ggplot. So our options are:

  1. convert last years SOE figs to ggplot equivalent and try cowplot
  2. generate plots and save as png or pdf, then import that as an image into multipanelfigure
  3. use a hack that keeps multiple figures in one frame by messing with outwidth (difficult for panels with different heights, but worked for the risk assessment ms)
sgaichas commented 5 years ago

see https://journals.plos.org/plosone/s/figures

subfigures can be submitted separately, this might be the best fix

all figs need to be converted to .tif or .eps format and uploaded separately

sgaichas commented 5 years ago

used option 2 above in revised draft for Frontiers. pdfs are generated by modified NE and MAB SOE 2018 rmds and put in images folder. all included in https://github.com/sgaichas/SOEpaper/commit/b5ce8091f708e21bdd2260a02c3bfd124677250b