lookupcurve

lookupcurve(`curve`

,`offset`

)

The LOOKUPCURVE function has the following arguments:

`curve`

The curve for which the value is to be calculated.

`number`

The X-value for which to fnd the first corresponding Y-value.

Return the interpolation of a value along a curve. The first argument is the curve used in the lookup. The second argument is the X value that will be used as an index into the curve. The resulting Y value is returned.

The usual Patchworks rules for interpolation and extrapolation are used.

Formula |
Description |
Result |
---|---|---|

lookupcurve(curve(0,0, 100,100, 200,0), 110) | Return the Y-value at 110 along the curve. | 90.0 |