| This is read-only version of the old wiki, feel free to browse it for materials. If you want to share your own materials, please use GeoGebraTube instead. You are also welcome to help us enhance the new wiki. If any questions arise, please contact the webmaster. |
Sequence Command
The Sequence command has two variants:
- Sequence[expression e, variable i, number a, number b]
- Sequence[expression e, variable i, number a, number b, number s]
Action:
This command creates a list of objects; expression e is the object template.
The number i is an iteration variable; i = a, and increments by s as long as i ≤ b.
If s is not specified it takes the value 1.
Notes:
- The list will appear as a dependent object in the algebra window.
- No properties other than the visibility and the color of the objects can be modified.
- See the other commands for manipulating Lists of objects:
Examples:
L = Sequence[(i,i), i, 2, 5] - creates the list L containing the points (2,2), (3,3), (4,4) and (5,5)
L = Sequence[a*x^2, a, 0.1, 1, 0.1] - creates the list L containing 10 parabolas centered at the origin.