Difference between revisions of "Polyline Command"
From GeoGebra Manual
m |
m (added icons) |
||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version=5.0}}</noinclude> | + | <noinclude>{{Manual Page|version=5.0}}</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|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 ''Algebra'' view, and the corresponding polygonal in ''Graphics'' view.}} }} |
Revision as of 13:18, 10 August 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.