Skip to content
Prev 77889 / 398502 Next

figure widths in sweave

On Mon, 2005-09-26 at 20:34 +0800, John Charles Considine wrote:
yes,
Sweave sets graphics widths to 0.8\textwidth by default.  To change it
for a document, to say 1.0\textwidth, include the line 

\setkeys{Gin}{width=1\textwidth}

after \begin{document} in the noweb file.

see p.12 of Sweave manual at...
http://www.ci.tuwien.ac.at/~leisch/Sweave/Sweave-manual-20050914.pdf