INCLAN Graphics: plot spline: Difference between revisions

From CYANA Wiki
Jump to navigation Jump to search
m (1 revision)
No edit summary
Line 1: Line 1:
== Synopsis ==


Usage: plot spline ''x1'' ''y1'' ''x2'' ''y2'' ... (normal mode)
'''plot spline''' ''x''<sub>1</sub> ''y''<sub>1</sub> ''x''<sub>2</sub> ''y''<sub>2</sub> ... (normal mode)
      plot spline [[''x''] ''y1''...]        (list mode)


Normal mode:  
'''plot spline''' [[''x''] ''y''<sub>1</sub>...]        (list mode)
The command draws a cubic spline through the given points. The spline
 
starts at the first point and ends at the last point with vanishing  
== Description ==
second derivative. The x-values must be strictly increasing.
 
Normal mode:<br>
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:
The command draws draws cubic spline curves through the points of the
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.
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.

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.