Lars Bergemann wrote:
> Hi.
>
>
>
> I have the following two ecdf plots in one graph:
>
>
>
> plot(
> ecdf(....),
> do.points=FALSE,
> verticals=TRUE,
> main=paste("Ecdf of distances ",DIM,sep=""),
> col="red"
> );
> lines(
> ecdf(....),
> do.points=FALSE,
> verticals=TRUE
> );
>
>
>
> How do I change the color of the resulting graph? Adding col="red" to either plot or lines results in an error ...
... but works for me.
Hence please specify your version of R, OS, exactly reproducible code
(above the argument to ecdf are missing, obviously).
Best,
Uwe Ligges
______________________________________________
R-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/r-helpPLEASE do read the posting guide
http://www.R-project.org/posting-guide.htmland provide commented, minimal, self-contained, reproducible code.