ax.gridcolor=[0 0 1]; sets the color of axis grid to blue.
Here, ax is an object of matlab.graphics.axis.Axes class which represents the axes in a figure window.
The property gridcolor is used to set the color of the axis grid. It is a property of Axes object which can be accessed and modified using the dot notation.
In this case, [0 0 1] represents an RGB triplet where [R G B] components are set to [0 0 1] i.e. blue.
gistlibby LogSnag