lsolve:
Local linear interpolation function
Description
Computes intersection of a line drawn from $(x_{1}, y_{1})$ to $(x_{2}, y_{2})$ and a horizontal line at level
Usage
lsolve(x1, y1, x2, y2, level)
Arguments
x1
x-coordinate for first point
y1
y-coordinate for first point
x2
x-coordinate for second point
y2
y-coordinate for second point
level
y-coordinate for horizontal line