4.10. Grid Controls
Prev | Chapter 4. PHPlot Functions By Category | Next

## 4.10. Grid Controls

The functions in this section control the optional grid drawn behind the plot. You can independently enable the horizontal (Y) and vertical (X) lines in the grid, and use dashed or solid lines.

See also SetLightGridColor to set the grid color.

### Note

By default, the horizontal (Y) grid is on, and the vertical (X) grid is off.

Here is a sample plot with the X Grid and Y Grid called out.

- SetDrawDashedGrid

- SetDrawXGrid

- SetDrawYGrid

Prev | Up | Next
4.9. Axis Controls | Home | 4.11. Labels