INCLAN Graphics: plot line: Difference between revisions

From CYANA Wiki
Jump to navigation Jump to search
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:


'''plot line''' ''x''<sub>1</sub> ''y''<sub>1</sub> ''x''<sub>2</sub> ''y''<sub>2</sub> ... (normal mode)
'''plot line''' ''x''<sub>1</sub> ''y''<sub>1</sub> ''x''<sub>2</sub> ''y''<sub>2</sub> ... (normal mode)
'''plot line [['''''x''''']''' ''y''<sub>1</sub>'''...]'''        (list mode)
 
'''plot line''' [[''x''] ''y''<sub>1</sub>...] (list mode)


== Description ==
== Description ==


Normal mode:  
Normal mode:  
The command draws a line that connects the given points by straight line
Draws a line that connects the points (''x''<sub>1</sub>, ''y''<sub>1</sub>), (''x''<sub>2</sub>, ''y''<sub>2</sub>),... by straight line segments.
segments.


List mode:
List mode:
The command draws straight lines through the points of the given vector
Draws straight lines through the points of the given vector expressions ''x'', ''y''<sub>1</sub>,... If no vector expressions are specified, straight lines 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.
expressions x, y1,... If no vector expressions are specified,
straight lines 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.

Latest revision as of 17:21, 9 September 2009

Synopsis

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

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

Description

Normal mode: Draws a line that connects the points (x1, y1), (x2, y2),... by straight line segments.

List mode: Draws straight lines through the points of the given vector expressions x, y1,... If no vector expressions are specified, straight lines 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.