Difference between revisions of "Polyline Command"

From GeoGebra Manual
Jump to: navigation, search
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=4.2}}</noinclude>
 
<noinclude>{{Manual Page|version=4.2}}</noinclude>
 
{{command|geometry}}
 
{{command|geometry}}
;PolyLine[ <List of Points> ]
+
;Polyline[ <List of Points> ]
 
:Creates an open polygonal chain (i.e. a connected series of segments) having the initial vertex in the first point of the list, and the final vertex in the last point of the list.  
 
:Creates an open polygonal chain (i.e. a connected series of segments) having the initial vertex in the first point of the list, and the final vertex in the last point of the list.  
 
:{{Note|The polygonal chain length is displayed in the [[Algebra View]].}}
 
:{{Note|The polygonal chain length is displayed in the [[Algebra View]].}}
  
  
;PolyLine[ <Point>, ..., <Point> ]
+
;Polyline[ <Point>, ..., <Point> ]
 
:Creates an open polygonal chain (i.e. a connected series of segments) having the initial vertex in the first entered point, and the final vertex in the last entered point.  
 
:Creates an open polygonal chain (i.e. a connected series of segments) having the initial vertex in the first entered point, and the final vertex in the last entered point.  
 
:{{Note|The polygonal chain length is displayed in the [[Algebra View]].}}
 
:{{Note|The polygonal chain length is displayed in the [[Algebra View]].}}
Line 13: Line 13:
  
 
{{note| 1=<div>
 
{{note| 1=<div>
:* It is possible, with version > 4, to create a discontinuous PolyLine.
+
:* It is possible, with version > 4, to create a discontinuous Polyline.
::{{example|1=<code>PolyLine[ (1, 3), (4, 3), (?,?), (6, 2), (4, -2), (2, -2)]</code> yields ''f = 9.47'' .}}
+
::{{example|1=<code>Polyline[ (1, 3), (4, 3), (?,?), (6, 2), (4, -2), (2, -2)]</code> yields ''f = 9.47'' .}}
 
:* See also [[Polygon Command|Polygon]] command.</div>}}
 
:* See also [[Polygon Command|Polygon]] command.</div>}}

Revision as of 10:36, 6 December 2013



Polyline[ <List of Points> ]
Creates an open polygonal chain (i.e. a connected series of segments) having the initial vertex in the first point of the list, and the final vertex in the last point of the list.
Note: The polygonal chain length is displayed in the Algebra View.


Polyline[ <Point>, ..., <Point> ]
Creates an open polygonal chain (i.e. a connected series of segments) having the initial vertex in the first entered point, and the final vertex in the last entered point.
Note: The polygonal chain length is displayed in the Algebra View.


Note:
  • It is possible, with version > 4, to create a discontinuous Polyline.
Example: Polyline[ (1, 3), (4, 3), (?,?), (6, 2), (4, -2), (2, -2)] yields f = 9.47 .
© 2024 International GeoGebra Institute