From 12:00 PM - 8:00 PM CST on Thursday, October 18, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

# grid

Version:

Adds or removes a grid on an existing plot. grid ('on') adds a grid, and grid ('off') removes a grid. grid toggles between the two states.

Note

You can only use the grid function in the MathScript Console.

## Syntax

grid
grid ('off')
grid ('on')

## off

Removes a grid.

## on

X = 0:1:10;
plot(X)
grid ('on')

Where This Node Can Run:

Desktop OS: Windows

FPGA: This product does not support FPGA devices