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 x
must be in ascending
order. The interpolation is performed at points determined by the
fraction of curve length from the start, xf
, which ranges
between 0 and 1. tension
governs the tenseness of the
interpolation curve. It defaults to 1
and must not be smaller.
dlhs
and drhs
are the desired first
derivatives at the left-hand and right-hand sides, respectively.
See also: tense, tense_loop