Skip to content
Prev 173493 / 398506 Next

set size of a plot

?pdf reads: width, height the width and height of the graphics region in
inches. The default values are 7.  


------------------------------------------------------------------------
----
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature
and Forest
Cel biometrie, methodologie en kwaliteitszorg / Section biometrics,
methodology and quality assurance
Gaverstraat 4
9500 Geraardsbergen
Belgium 
tel. + 32 54/436 185
Thierry.Onkelinx at inbo.be 
www.inbo.be 

To call in the statistician after the experiment is done may be no more
than asking him to perform a post-mortem examination: he may be able to
say what the experiment died of.
~ Sir Ronald Aylmer Fisher

The plural of anecdote is not data.
~ Roger Brinner

The combination of some data and an aching desire for an answer does not
ensure that a reasonable answer can be extracted from a given body of
data.
~ John Tukey

-----Oorspronkelijk bericht-----
Van: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
Namens Maxl18
Verzonden: donderdag 12 maart 2009 15:05
Aan: r-help at r-project.org
Onderwerp: [R] set size of a plot


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