__
From: Peter Ehlers
Cc: Jorge Ivan Velez ; "r-help@r-project.org"
Sent: Fri, November 26, 2010 12:52:56 AM
Subject: Re: [R] overlap cdf plots and add colors and etc
On 2010-11-24 22:24, Roslina Zakaria wrote:
> Hi Jorge,
>
> I tried but still it does not work. Thank you for y
nts to see reams of data; use rnorm(),
etc, or built-in data if possible.
5. Figure out how to set your mail program to send
plain text.
I know the above (and more) is in the posting guide,
but it seems that nobody wants to read that quite
brief document.
Peter Ehlers
____________
Hi Jorge,
I tried but still it does not work. Thank you for your time.
From: Jorge Ivan Velez
Cc: r-help@r-project.org
Sent: Thu, November 25, 2010 4:46:37 PM
Subject: Re: [R] overlap cdf plots and add colors and etc
Hi Roslina,
Try
par(mar=c(4,4,2,1.2
Hi Roslina,
Try
par(mar=c(4,4,2,1.2),oma=c(0,0,0,0),xaxs="i", yaxs="i")
plot(ecdf(rnorm(100)))
plot(ecdf(rnorm(100)), add = TRUE, col = 2)
HTH,
Jorge
On Thu, Nov 25, 2010 at 12:18 AM, Roslina Zakaria <> wrote:
> Hi r-users,
>
> I would like to overlap 2 ecdf plots.
>
> I tried this below and
Hi r-users,
I would like to overlap 2 ecdf plots.
I tried this below and it gives me two plots of ecdf but just both just in
black.
par(mar=c(4,4,2,1.2),oma=c(0,0,0,0),xaxs="i", yaxs="i")
plot(ecdf(datobs))
lines(ecdf(gam_sum_gen))
Then I try to add colors etc and also the legend but fail.
5 matches
Mail list logo