Next: tense_loop, Previous: tense, Up: Internal Routines [Contents][Index]

`tense_curve(`

`x`, `y`, `xf` [, `tension`][,
`dlhs`, `drhs`])

Interpolates arbitrary open curves using splines under tension, and
returns a 2D array containing the x and y coordinates of the
interpolated points. The input points have coordinates `(`

(`x`,
`y`)`array`

s), and

must be in ascending
order. The interpolation is performed at points determined by the
fraction of curve length from the start, `x`

, which ranges
between 0 and 1. `xf`

governs the tenseness of the
interpolation curve. It defaults to `tension``1`

and must not be smaller.

and `dlhs`

are the desired first
derivatives at the left-hand and right-hand sides, respectively.
`drhs`

See also: tense, tense_loop