set grid

set grid status <linestyle> <color#>

Specifies the characteristics of the displayed grid lines. Default is to draw horizontal and vertical grid lines with color number 15 (grey) and linestyle 5 (dotted).

Options for status are:

Options for linestyle are:

color# may be one of the 16 GrADS default colors or a new color defined with set rgb.

Usage Notes

  1. Changes to the grid display characteristics 'stick' until reset by a new execution of set grid.

  2. You cannot specify a color# without also specifying a linestyle.

  3. Grid lines are aligned with the labeled tick marks on the X and Y axes. GrADS chooses appropriate defaults for spacing of the labeled tick marks, but these defaults may be overridden by the commands set xaxis, set yaxis, set xlint, set ylint, set xlevs, and set ylevs. Please consult these reference pages for more information.

Examples