X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=debbugs.Rnw;h=7494895bcb953c4ccbf808d88ec796e26fba21f8;hb=2db991196249eb1eee4e524aeb496672db63d6a2;hp=01f123f1ffc17f81acf5eb1854cbbdfbfbd712ea;hpb=1c7f259c9f881542cc327b035d9c959d0f46b7b9;p=debbugs-presentations.git 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, ...) })