INCLAN Graphics: plot polygon: Difference between revisions

From CYANA Wiki
Jump to navigation Jump to search
No edit summary
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
'''plot polygon''' ''x''<sub>1</sub> ''y''<sub>1</sub> ''x''<sub>2</sub> ''y''<sub>2</sub> ''x''<sub>3</sub> ''y''<sub>3</sub> ... (normal mode)
'''plot polygon''' ''x''<sub>1</sub> ''y''<sub>1</sub> ''x''<sub>2</sub> ''y''<sub>2</sub> ''x''<sub>3</sub> ''y''<sub>3</sub> ... (normal mode)


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


== Description ==
== Description ==


Normal mode:  
Normal mode:  
The command draws a polygon with the given edges. At least three
This command marks the position (''x'',''y'') with the corresponding symbol.The size of the symbol is determined by the current value of the plot
points must be specified.
parameter '''marksize'''.


List mode:
List mode:  
The command draws polygons with the edges given by the vector expressions
This command marks the positions given by the vector expressions ''x'', ''y''<sub>1</sub>,... with the corresponding symbol. If no vector expressions are specified, all points of the list columns are marked. 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.
x, y1,... If no vector expressions are specified, polygons 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. The number of
list points must be three or more.

Latest revision as of 14:00, 9 September 2009

Synopsis

plot polygon x1 y1 x2 y2 x3 y3 ... (normal mode)

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

Description

Normal mode: This command marks the position (x,y) with the corresponding symbol.The size of the symbol is determined by the current value of the plot parameter marksize.

List mode: This command marks the positions given by the vector expressions x, y1,... with the corresponding symbol. If no vector expressions are specified, all points of the list columns are marked. 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.