Re: [R] crosshair in scatterplot to mark special points

2005-06-13 Thread Barry Rowlingson
Mike R wrote: > In a plot on an X11 device, I'd like to mark a few points with > a large thin "crosshairs". By "mark" I mean: draw the crosshair > on the plot. > Try using the numerical pch symbols. '3' is a crosshair, so see what the following do: plot(1:10,pch=3) plot(1:10,pch=3,cex=

[R] crosshair in scatterplot to mark special points

2005-06-12 Thread Mike R
In a plot on an X11 device, I'd like to mark a few points with a large thin "crosshairs". By "mark" I mean: draw the crosshair on the plot. The two unsatisfactory methods that I have are: METHOD 1: points( x, y, pch="+" ,cex=2) METHOD 2: line(xa, xb, y0, y0) line(x0, x0, ya, yb)