## 1.52.25 grid

    set [no]grid { <axis> }

The setting `grid` controls whether a grid is placed behind graphs or not. Issuing the command

    set grid

would cause a grid to be drawn with its lines connecting to the ticks of the default axes (usually the first horizontal and vertical axes). Conversely, issuing the command

    set nogrid

would remove from the plot all gridlines associated with the ticks of any axes. One or more axes can be specified for the `set grid` command to draw gridlines from; in such cases, gridlines are then drawn only to connect with the ticks of the specified axes, as in the example

    set grid x1 y3

It is possible, though not always aesthetically pleasing, to draw gridlines from multiple parallel axes, as in example:

    set grid x1x2x3