plot(x2, y2, pch=16, type="n") On Fri, Jul 9, 2010 at 3:20 PM, Marlin Keith Cox <marlink...@gmail.com> wrote: > I need to hide scatter points and just leave the linear regression > line. I have tried to color the points "white", but that does not > work. > > A working example, I need the green plotted points to be transparent or > hidden. > > x2 <- seq(1,200,.5) > y2 <- seq(5,204,.5) > plot(x2, y2, pch=16, col="green") > model<-lm(y2~x2) > abline(model, lty=3, lwd=4, col="black") > > Thanks ahead of time, > > keith > > --
-- Sarah Goslee http://www.functionaldiversity.org ______________________________________________ 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.