Skip to content
Back to formatted view

Raw Message

Message-ID: <23091546.post@talk.nabble.com>
Date: 2009-04-17T05:57:52Z
From: cls59
Subject: changing Swaeve output settings for .pdf and .eps - is there a way?
In-Reply-To: <C4374B22A14D4EB98CB20605DF17E342@TCPC000>

markheckmann wrote:
> 
> 
> The pdf() settings do not affect Sweave settings when producing a .pdf
> graphic. How can I change the Sweave default settings to e.g. 3 inch?
> 
> 

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
-- 
View this message in context: http://www.nabble.com/changing-Swaeve-output-settings-for-.pdf-and-.eps---is-there-a-way--tp23078496p23091546.html
Sent from the R help mailing list archive at Nabble.com.