RE: [S] Coordinates of Intersection Points

Ed Callahan (
Sun, 26 Apr 1998 19:50:43 -0500

If you have two curves f(x) and g(x) you could try using the function
uniroot to solve for a value of x where f(x)-g(x)=0. You'll need to be
careful if the curves cross in more than one place.


Edward Callahan
Environmental Statistics

-----Original Message-----

Dear S+ Friends:

Are there ways other than using the command locator() to get the
coordinates of an intersection point of two curves? locator() is not
very easy to use and can not get accurate coordinates.


Ming Ji
Division of Statistics
University of California
Davis, CA 95616

This message was distributed by To unsubscribe
send e-mail to with the BODY of the
message: unsubscribe s-news