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

-- 
M. Keith Cox, Ph.D.
Alaska NOAA Fisheries, National Marine Fisheries Service
Auke Bay Laboratories
17109 Pt. Lena Loop Rd.
Juneau, AK 99801
keith....@noaa.gov
marlink...@gmail.com
U.S. (907) 789-6603

______________________________________________
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