On Mon, Mar 03, 2008 at 02:03:07AM -0800, mysimbaa wrote: > > Dear R users, > I have a problem since I try to plot my datas with different colors. > > plot(tvar, var, xlab="zeit [s]",ylab="Variation [%]", col = ifelse(var <= > varstability, 'green','red')) > this works well! > > But since I add a type="l" to my plot, it will color all the plot with > green!!!
Please include this too. -- Hans Ekbrand (http://sociologi.cjb.net) <[EMAIL PROTECTED]> GPG Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
signature.asc
Description: Digital signature
______________________________________________ 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.