Skip to content
Prev 177348 / 398506 Next

changing Swaeve output settings for .pdf and .eps - is there a way?

markheckmann wrote:
Try setting the width and height options in the figure chunk:

<<fig1,echo=F,plot=T,pdf=T,width=5,height=3>>
    plot(1:10
@

To make a certain set of dimensions the defaults, use \SweaveOpts:

\SweaveOpts{width=5,height=3}

-Charlie



-----
Charlie Sharpsteen
Undergraduate
Environmental Resources Engineering
Humboldt State University