1. Thanks for the tip ! Have you tried to use, before the subfig, something like \setkeys{Gin}{width=0.4\textwidth} to control the size of the figure ?

• Hi Fred, thanks for your comment! That’s definitely the way to go in case all graphs have the same size/shape. I should have chosen an example showing two figures with different sizes, e.g. 30% and 70% text-width. After all, what I tried to illustrate was how to have more flexibility with multiple Sweave-generated graphs.

Thanks, Tom.

• Hey, thanks for the link. I will start using knitr right away :-)! Best, Thomas