Re: [R] color graph in multiple plots

2010-02-18 Thread David Winsemius
On Feb 19, 2010, at 12:38 AM, Roslina Zakaria wrote: Hi, I would like to distinguish my plots using colors but I got error message. How do I correct that? plot(ecdf(z), main ="CDF for observed and simulated weighted sum",type="l",lwd=2,col="blue", xlab="Weighted sum (mm)", ylab="Cumula

[R] color graph in multiple plots

2010-02-18 Thread Roslina Zakaria
Hi,   I would like to distinguish my plots using colors but I got error message.  How do I correct that?     plot(ecdf(z), main ="CDF for observed and simulated weighted sum",type="l",lwd=2,col="blue", xlab="Weighted sum (mm)", ylab="Cumulative Percent", xlim=c(0,15), xaxs ='i', yaxs ='i',ylim=c