- XLogo
These primitives effect the axis and grid, drawn in the Draw zone.
| Primitive | Alt | Action |
|---|---|---|
|
Axis
nn
XAxis nn YAxis nn Set AxisColor n XAxis? YAxis? StopAxis |
SAC |
Draw X and Y
axis
with division size of nn pixels.
Draw X (horizontal) axis with division size of nn pixels. Draw Y (vertical) axis with division size of nn pixels. Set axis color to n. (See colors ) Return true if X axis is drawn, else false. Return true if Y axis is drawn, else false. Delete axis. |
|
Grid
mm nn
Set GridColor n Grid? StopGrid |
SGC |
Draw a
grid
with division sizes of mm x nn pixels.
Set grid color to n. (See colors ) Return true if grid is drawn, else false. Delete grid. |
Underlined
Set
can be removed from a primitive name in order to return information.
eg.
SetHeading
sets the heading of the turtle.
Heading
returns the heading of the turtle.
Note
A 'ClearScreen' is performed after drawing any axis or grid. This results in ShowTurtle and screen and pen color as as set up in Preferences.