I'm working on a "book" project (quarto-based) with loads of plots. My biggest problem is how to achieve consistency in the plot's appearance: after rendering the book, saved plots deviate from the look I had in the preview pane. E.g.,:
This is something expected given the text sizing/resolution problem discussed here: Understanding text size and resolution in ggplot2 | Christophe Nicault.
As I understand it, the chunk's options and pane size are not connected in any way, therefore preview is not representative in its appearance. So, my question is how can I link the size of the output plots (i.e., saved on render) and the size of the plots in the preview pane of Rstudio IDE consistent (in both overall size and aspect ratio)?
Thanks in advance.