Skip to content
Back to formatted view

Raw Message

Message-ID: <efb536d50903120715p39742400x4a343f98904fd6bd@mail.gmail.com>
Date: 2009-03-12T14:15:08Z
From: Sarah Goslee
Subject: set size of a plot
In-Reply-To: <22477083.post@talk.nabble.com>

Set which size? Of the page? - then you need to specify in pdf().
Of the plot margins? - then par$mai
Of something else? Then you need to be more specific about your
intention.

Sarah

On Thu, Mar 12, 2009 at 10:05 AM, Maxl18 <maximilianwoerle at hotmail.com> wrote:
>
> Hi,
> I have the following R-code:
>
> pdf(file="test.pdf")
> hist(rcauchy(100))
> dev.off()
>
> How can I set the size of the histogram in my pdf?
> I tried to do with par(...) but I didn't find the right parameter yet.
>
> Thanks, Max

-- 
Sarah Goslee
http://www.functionaldiversity.org