Difference between revisions of "Polyline Command"

From GeoGebra Manual
Jump to: navigation, search
m (moved example)
Line 3: Line 3:
 
;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]].}}
+
:{{Notes|1=
 +
:*The polygonal chain length is displayed in the [[Algebra View]].
 +
:*It is also possible to create a discontinuous polygonal:
 +
::{{example|1=<code>Polyline[ (1, 3), (4, 3), (?,?), (6, 2), (4, -2), (2, -2)]</code> yields the value ''f = 9.47'' in ''Algebra'' view, and the corresponding polygonal in ''Graphics'' view.}} }}
  
  
Line 11: Line 14:
  
  
 
+
{{note|1=See also [[Polygon Command|Polygon]] command.}}
{{note| 1=<div>
 
:* 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'' .}}
 
:* See also [[Polygon Command|Polygon]] command.</div>}}
 

Revision as of 16:48, 2 April 2015



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.
Notes:
  • The polygonal chain length is displayed in the Algebra View.
  • It is also possible to create a discontinuous polygonal:
Example: Polyline[ (1, 3), (4, 3), (?,?), (6, 2), (4, -2), (2, -2)] yields the value f = 9.47 in Algebra view, and the corresponding polygonal in Graphics 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: See also Polygon command.
© 2024 International GeoGebra Institute