TI-BASIC:Gridon
Command Summary
Enables the grid on the graph screen.
Command Syntax
GridOn
Menu Location
Press:
- 2nd FORMAT to access the graph format menu.
- Use arrows and ENTER to select GridOn.
TI-83/84/+/SE
2 bytes
The GridOn command enables a grid on the graph screen (you can disable it again with the GridOff command). How fine or coarse the grid is depends on the Xscl and Yscl variables. Drawing the grid just involves plotting points all the points of the form (A×Xscl, B×Yscl) that are in the graphing window.
Advanced Uses
GridOn can be used to shade the entire screen if Xscl and Yscl are small enough that the points on the grid are one pixel apart:
:ΔX→Xscl :ΔY→Yscl :GridOn
This is one of the shortest ways to shade the screen, although Shade( can be used for a (usually) even shorter way. However, using GridOn is also very slow: the fastest way involves the Horizontal or the Vertical commands in a For( loop.
You could also use GridOn to draw the playing grid for a Dots and Boxes game.
TI-84+CSE Grid Commands
On TI-84+CSE version calculators, the GridOn command is replaced by two commands, GridDot and GridLine. GridDot does the same thing as the normal GridOn command, whereas GridLine draws a grid where all grid points are connected by solid lines. The two grid commands can also be used with color arguments.
:ClrDraw :GridDot GREEN //Draws a dotted green grid :GridOff :GridLine 11 //Draws a red line grid