for <variable> = <start> to <end> [step <step>] [loopname <loopname>] <code> for (<initialise>; <criterion>; <step>) <code>
The for command executes a set of commands repeatedly. Pyxplot allows for loops to follow either the syntax of the BASIC programming language, or the C syntax.
In the BASIC variant, a specified variable takes a different value on each iteration. The variable takes the value start on the first iteration, and increases by a fixed value step on each iteration; step may be negative if end <