INCLAN Graphics: plot spline

From CYANA Wiki
Jump to navigation Jump to search

Synopsis

plot spline x1 y1 x2 y2 ... (normal mode)

plot spline [[x] y1...] (list mode)

Description

Normal mode:
Draws a cubic spline through the points (x1, y1), (x2, y2), ... The spline starts at the first point and ends at the last point with vanishing second derivative. The x-values must be increasing: xi<xi+1, for all i.

List mode:
Draws cubic spline curves through the points of the given vector expressions x, y1,... If no vector expressions are specified, splines are drawn through the points of all list columns. If the x-expression is omitted (i.e. if only a single expression, y1, is given), the x-coordinates are taken from the x-column of the list.