Re: [R] How to plot diagonal line at any coordinate range in R

2012-03-11 Thread Jeff Newmiller
I remain skeptical of the value of what you are doing, then. Anyway, don't use a slope of one in your abline function call. The easiest way to be sure what your plot ranges are is to define them yourself, and then defining the slope and intercept needed for your abline call is straightforward al

Re: [R] How to plot diagonal line at any coordinate range in R

2012-03-11 Thread Jeff Newmiller
Your requirement that the line go from bottom-left to top-right regardless of the coordinates is inconsistent with a slope of 1. Are you sure that is your requirement? --- Jeff NewmillerThe .