[R] overlaying plots

Aleš Žiberna ales.ziberna at guest.arnes.si
Fri Jun 3 08:21:47 CEST 2005


You can simply do
plot(xx)
plot(yy,add=T)

Aleš Žiberna

----- Original Message ----- 
From: "Mike Jones" <MikeJones at westat.com>
To: <r-help at stat.math.ethz.ch>
Sent: Thursday, June 02, 2005 9:53 PM
Subject: [R] overlaying plots


> surely this not hard, but i can't figure it out.  i'd like to overlay
> the results of two ecdf's.
>
> e.g. xx<--ecdf(x) and yy<--ecdf(y).  i'd like to plot xx and yy on the
> same graph.
>
> thanks...mj
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html
>
>




More information about the R-help mailing list