Skip to content
Prev 10408 / 398513 Next

how superpose two graphics ?

BISSERY Alvine <Alvine.BISSERY at hop.egp.ap-hop-paris.fr> writes:
Use:

        par(new = TRUE)

as in:

        hist(rnorm(100, mean = 20, sd = 12))
        par(new = TRUE)
        hist(rnorm(100, mean = 22, sd = 1))

Mark


--
Mark Myatt


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._