From 2db991196249eb1eee4e524aeb496672db63d6a2 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Thu, 10 Aug 2017 08:41:15 -0700 Subject: [PATCH] change default figure size --- debbugs.Rnw | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debbugs.Rnw b/debbugs.Rnw index 01f123f..7494895 100644 --- a/debbugs.Rnw +++ b/debbugs.Rnw @@ -78,16 +78,16 @@ % - release to experimental -<>= +<>= library(lattice) library(xtable) library(ggplot2) library("scales") library(reshape2) library("data.table") -opts_chunk$set(dev="cairo_pdf",out.width="\\textwidth",out.height="0.8\\textheight",out.extra="keepaspectratio",fig.width=6,fig.height=4) +opts_chunk$set(dev="cairo_pdf",out.width="\\textwidth",out.height="0.8\\textheight",out.extra="keepaspectratio",fig.width=6/1.2,fig.height=4/1.2) opts_chunk$set(cache=TRUE, autodep=TRUE) -options(device = function(file, width = 6, height = 4, ...) { +options(device = function(file, width = 6/1.2, height = 4/1.2, ...) { cairo_pdf(tempfile(), width = width, height = height, ...) }) -- 2.39.2