[R] set size of a plot

Sarah Goslee sarah.goslee at gmail.com
Thu Mar 12 15:15:08 CET 2009


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




More information about the R-help mailing list