Change default aspect ratio for graphs
This adds a 4:3 default aspect ratio.
This commit is contained in:
parent
4762523c20
commit
2175d46379
2
utils.R
2
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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user