I store my plots with ragg
with defined sizes and resolution.
ragg::agg_png("Test.png",
res = 320, width = 11, height = 15, units = "in")
If these plots are opened in the Plot Pane or in Zoom the output is totally different.
On the left is the ragg
version and on the right is the Zoom version of
a plot.
I could find several posts which deal with the reverse problem of adjusting the size of png to the size of the Zoom pane,
but I could not find anything which describes, if it is possible to open Zoom
with the same parameter as the I save a png with ragg
.
Changing the graphics devices in RStudio did not help. Opening a new graphics device
dev.new(width = 11, height = 15, unit ='in', noRStudioGD = T, res = 300)
did also not show any improvement.
Similar questions like RStudio Community were closed without answer.
Therefore I am not sure, if it is possible at all, to define the Zoom pane
size and resolution so that it fits to the ragg
-saved version.
If that is the case I would like to learn how experienced ggplot
developers
develop there plots stepwise with individual size and res settings.