[R] set size of a plot

2009-03-12 Thread Maxl18
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 -- View this message in context:

Re: [R] set size of a plot

2009-03-12 Thread ONKELINX, Thierry
of data. ~ John Tukey -Oorspronkelijk bericht- Van: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Namens Maxl18 Verzonden: donderdag 12 maart 2009 15:05 Aan: r-help@r-project.org Onderwerp: [R] set size of a plot Hi, I have the following R-code: pdf(file=test.pdf) hist

Re: [R] set size of a plot

2009-03-12 Thread Sarah Goslee
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 maximilianwoe...@hotmail.com wrote: Hi, I have the following R-code:

Re: [R] set size of a plot

2009-03-12 Thread Christos Hatzis
Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Maxl18 Sent: Thursday, March 12, 2009 10:05 AM To: r-help@r-project.org Subject: [R] set size of a plot Hi, I have the following R-code: pdf(file=test.pdf) hist(rcauchy(100)) dev.off