Skip to content
Back to formatted view

Raw Message

Message-ID: <40335592.9993.36E8E2@localhost>
Date: 2004-02-18T16:07:46Z
From: Kjetil Halvorsen
Subject: Help with multiple graphs on one set of axis
In-Reply-To: <003701c3f58a$28b13560$11ee0804@dslverizon.net>

On 17 Feb 2004 at 11:13, Phillip Good wrote:

> Can you suggest code to plot two cumulative distribution functions on
> the same set of axis?
> 

> library(stepfun)
> x <- rnorm(100)
> y <- rnorm(110, 0.5)
> plot(ecdf(x), col.p="red",col.h="red",col.v="red")
> plot(ecdf(y),add=TRUE, col.p="blue",col.h="blue",col.v="blue")

Kjetil Halvorsen


> Phillp Good
> 
> "Never trust anything that can think for itself if you can't see where
> it keeps its brain."  Mr. Weasley
>  [[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html