Difference between revisions of "Polyline Command"

From GeoGebra Manual
Jump to: navigation, search
(command syntax: changed [ ] into ( ))
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.2}}</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|geometry}}
{{command|geometry}}
+
;Polyline( &lt;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|1=The polygonal chain length is displayed in the [[Algebra View]]. }}
+
:{{Note|1=The polygonal chain length is displayed in the [[File:Menu view algebra.svg|link=|16px]] [[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.  
 
:{{Notes|1=
 
:{{Notes|1=
:*The polygonal chain length is displayed in the [[Algebra View]].
+
:*The polygonal chain length is displayed in the [[File:Menu view algebra.svg|link=|16px]] [[Algebra View]].
 
:*It is also possible to create a discontinuous polygonal:
 
:*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.}} }}
+
::{{example|1=<code>Polyline((1, 3), (4, 3), (?,?), (6, 2), (4, -2), (2, -2))</code> yields the value ''9.47'' in [[File:Menu view algebra.svg|link=|16px]] ''Algebra View'', and the corresponding polygonal in [[File:Menu view graphics.svg|link=|16px]] ''Graphics View''.}} }}
  
  
 
{{note|1=See also [[Polygon Command|Polygon]] command.}}
 
{{note|1=See also [[Polygon Command|Polygon]] command.}}

Latest revision as of 09:34, 11 October 2017


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 Menu view algebra.svg 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 Menu view algebra.svg 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 Menu view algebra.svg Algebra View, and the corresponding polygonal in Menu view graphics.svg Graphics View.


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