From 2175d46379d3d96335e6cff7e077cb32fa775c7d Mon Sep 17 00:00:00 2001 From: Jens Sauer Date: Thu, 19 Nov 2020 16:20:20 +0100 Subject: [PATCH] Change default aspect ratio for graphs This adds a 4:3 default aspect ratio. --- utils.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.R b/utils.R index 7d3fca3..69b29e6 100644 --- a/utils.R +++ b/utils.R @@ -11,7 +11,7 @@ # or NULL if not needed. # Default filesize is 3000x3000 px and 300 dpi resolution. # -sma_plot_file <- function(fname, ftype, fun, width = 3000, height = 3000) { +sma_plot_file <- function(fname, ftype, fun, width = 4000, height = 3000) { # Open file for writing ftype(filename = fname, width = width, height = height, res = 300)