Message-ID: <+q4HSgA3cGw6Ew0d@myatt.demon.co.uk>
Date: 2001-03-27T10:11:03Z
From: Mark Myatt
Subject: how superpose two graphics ?
In-Reply-To: <6332279F3215D411B25B0090276157CA4EE17D@loulou.egp.ap-hop-paris.fr>
BISSERY Alvine <Alvine.BISSERY at hop.egp.ap-hop-paris.fr> writes:
>hello,
>
>I'd like tu superpose two graphics, I mean, be able to plot two functions on
>the same graphics ..
>
>Can someone help me ?
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._