[R] overlaying plots
Petr Pikal
petr.pikal at precheza.cz
Tue Oct 22 15:33:19 CEST 2002
On 21 Oct 2002 at 16:39, Vladimir Morozov wrote:
> Dear R-gurus:
I would not call myself anything like that, but anyway, you should
be more specific in your questions.
ppp <- rnorm(1000)
hist(ppp, prob=T)
lines(density(ppp))
for instance these three lines will give you a histogram with a line
density plot.
And I definitely recommend you RTFM (especially An
introduction to R) and help files for plot.
>
> How do I overlay 2 plots in the same frame in R?
> Or, if I have a histogram, and I want to plot a function in the same
> frame - how do I do it?
>
> Thank you very much,
> Vlad
>
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
> -.-.-.-.- 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
> _._._._._
Petr Pikal
petr.pikal at precheza.cz
p.pik at volny.cz
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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