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.  
:{{Notes|1=
+
:{{Note|1=The polygonal chain length is displayed in the [[Algebra View]]. }}
:*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.}} }}
 
  
  
 
;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]].}}
+
:{{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 ''9.47'' in ''Algebra'' view, and the corresponding polygonal in ''Graphics'' view.}} }}
  
  
 
{{note|1=See also [[Polygon Command|Polygon]] command.}}
 
{{note|1=See also [[Polygon Command|Polygon]] command.}}

Revision as of 08:51, 3 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.
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.
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 9.47 in Algebra view, and the corresponding polygonal in Graphics view.


Note: See also Polygon command.
© 2024 International GeoGebra Institute