INCLAN Graphics: plot spline: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 10: | Line 10: | ||
Draws a cubic spline through the points (''x''<sub>1</sub>, ''y''<sub>1</sub>), (''x''<sub>2</sub>, ''y''<sub>2</sub>), ... The spline starts at the first point and ends at the last point with vanishing second derivative. The ''x''-values must be increasing: ''x''<sub>''i''</sub><''x''<sub>''i''</sub>+1, for all ''i''. | Draws a cubic spline through the points (''x''<sub>1</sub>, ''y''<sub>1</sub>), (''x''<sub>2</sub>, ''y''<sub>2</sub>), ... The spline starts at the first point and ends at the last point with vanishing second derivative. The ''x''-values must be increasing: ''x''<sub>''i''</sub><''x''<sub>''i''</sub>+1, for all ''i''. | ||
List mode: | List mode:<br> | ||
Draws cubic spline curves through the points of the given vector expressions ''x'', ''y''<sub>1</sub>,... 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, ''y''<sub>1</sub>, is given), the ''x''-coordinates are taken from the ''x''-column of the list. | Draws cubic spline curves through the points of the given vector expressions ''x'', ''y''<sub>1</sub>,... 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, ''y''<sub>1</sub>, is given), the ''x''-coordinates are taken from the ''x''-column of the list. |
Latest revision as of 09:27, 19 August 2009
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.