Skip to content

2 plots 1 figure

2 messages · Meriema Belaidouni, Ben Bolker

#
How do you obtain two plots on the same figure?
for example
plot(rnorm(100)
plot(rnorm(100),type="l")

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
Do you want two plots plotted on top of each other (use par(new=TRUE))
or next two each other (par(mfrow=c(2,1)) or par(mfcol=c(2,1)))?
On Tue, 14 Nov 2000, Meriema Belaidouni wrote: