Re: [R] hide scatter points

2010-07-09 Thread Roy Mendelssohn
Try changing the plot call to: > plot(x2, y2, type ="n") look at: ?plot -Roy On Jul 9, 2010, at 12:20 PM, Marlin Keith Cox 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 e

Re: [R] hide scatter points

2010-07-09 Thread Sarah Goslee
plot(x2, y2, pch=16, type="n") On Fri, Jul 9, 2010 at 3:20 PM, Marlin Keith Cox 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 tra

[R] hide scatter points

2010-07-09 Thread Marlin Keith Cox
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") mod