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.

Table Of Contents

grid

Version:
    Last Modified: March 15, 2017

    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.

    spd-note-note
    Note  

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

    Syntax

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

    Inputs

    off

    Removes a grid.

    on

    Adds a grid.

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

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics