[R] par(mfror=c(1,2))

Stefan Semmeling trittihn at web.de
Fri Apr 28 10:07:53 CEST 2006


dear list,

i have a problem using the par function.

in one graphic device i want to have two plots so i tried to use
par(mfror=c(1,2)).
of course it worked out, but the height now is twice the length of the width
for each single plot.
what i actually wanted is something like par(mfrow=c(2,2)) where only the
top (or bottom)
two plots are drawn with entire length proportions of 1 to 2 ( height 1,
width 2)
i want to create a pdf figure and can´t figure out how that might work.
(e.g. the height should be 8 cm, the length 16 cm but each plot should have
the proportion 1:1(height:width))

thanks for any help.

stefan




More information about the R-help mailing list