Change default aspect ratio for graphs

This adds a 4:3 default aspect ratio.
This commit is contained in:
Jens Sauer 2020-11-19 16:20:20 +01:00
parent 4762523c20
commit 2175d46379

View File

@ -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)