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 algebra. --------------------------------------------------------------------------- Jeff Newmiller The ..... ..... Go Live... DCN:<jdnew...@dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries O.O#. #.O#. with /Software/Embedded Controllers) .OO#. .OO#. rocks...1k --------------------------------------------------------------------------- Sent from my phone. Please excuse my brevity.
Gundala Viswanath <gunda...@gmail.com> wrote: >> 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? > >Yes > >- G.V. ______________________________________________ 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.