Increasing width of figures #219
-
Question from MS Teams:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You want
You can also change the default output width in the index.Rmd file with |
Beta Was this translation helpful? Give feedback.
You want
out.width
. E.g.out.width = "6in"
or"\\textwidth"
. All the options: https://yihui.org/knitr/options/fig.width
controls the 'device' size when the plot is created but not the size on the PDF page. I.e. largerfig.width
will make for smaller text and features on the plot given the sameout.width
.You can also change the default output width in the index.Rmd file with
knitr::opts_chunk$set()
. E.g.csasdown/inst/rmarkdown/templates/resdoc/skeleton/skeleton.Rmd
Line 112 in 8d15684