hi thomas,
thanks a lot- of course that's it.
i knew why the middle plot is stretcht, but didn't figure out that settting
par(oma) is the key..
greetings,
kay
--
View this message in context:
http://n4.nabble.com/multiple-plots-problem-tp2017326p2017551.html
Sent from the R help mailing list
The stretching of plot two occurs because you are allotting more space for
plot two.
You set
Plot 1: mar=c(0,4,4,2)
Plot 2: mar=c(0,4,0,2)
Plot 3: mar=c(4,4,0,2)
In plot one your are dedicating 4 lines to the top margin, in plot three you
are dedicating 4 lines to the bottom margin. In plot two,
hello,
i try to plot 3 graphs which have the same x.axis underneath each other. i'd
like the plots to be aligned without margings between the boxes and draw a
single x axis beneath the lowest plot.
i managed to get the alignment by setting par(mar), but the middle box is
stretched
and i cant't
3 matches
Mail list logo