[R] how superpose two graphics ?
Mark Myatt
mark at myatt.demon.co.uk
Tue Mar 27 12:11:03 CEST 2001
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list