Grid


Grid type {,title$}

This command draws a graphing grid with annotated X and Y axis lines. Optionally grid lines, axis titles and main graph title can be drawn. This command also calculates the actual screen graphing area to be used by following graph commands.

type = 0 - no grid lines are drawn.

type = 1 - only X grid lines are drawn.

type = 2 - only Y grid lines are drawn.

type = 3 - both X and Y grid lines are drawn.

The Grid title is optional. If omitted the main title will not be displayed.

The color of the main title is set with the TextColor command.

The color of the axis titles and annotations are set with the TextColorA command.

The color of the axis and grid lines are set with the Color command. The color of the minor grid lines will have %50 the Alpha of the major axis lines. This makes the minor grid lines dimmer than the main axis lines.

Also see AxisX and AxisY, GetGraphArea()






Become a Patron