2DegreesInvesting / tiltPlot

Plots for the TILT project
https://2degreesinvesting.github.io/tiltPlot/
GNU General Public License v3.0
0 stars 0 forks source link

Show an example of how to save multiple plots in a single folder #61

Closed maurolepore closed 6 months ago

maurolepore commented 10 months ago

Relates to https://github.com/2DegreesInvesting/tiltPlot/issues/26#issuecomment-1710419666

(PACTA) ... save the plots automatically in a created folder of the users. -- @AnneSchoenauer

This likely means showing how to use something like purrr::walk2(plots, paths, ggplot::ggsave).

@AnneSchoenauer, can you please link the workflow file you mention?

AnneSchoenauer commented 9 months ago

Hi @maurolepore,

You can find an example in this script here, for example in line 582:

ggplot2::ggsave( filename = "plot_scatter_automotive_group.png", path = output_path_aggregated, width = 8, height = 5