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 ...

 

Thanks!

Lars

_________________________________________________________________
[[elided Hotmail spam]]

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to