3.7.5.76 System.Grid

LabTalk Object Type:

Utility

The grid object is a sub-object of the system object. The grid object properties allow you to read and alter grid-related settings which are set in the OPTION.CNF file. These settings can also be accessed in the Options dialog box.


Note on these grid-related properties

These grid-related properties only affect graph windows that are not created from a template. If a graph window is created from a template, the template properties take precedence over the grid object properties.


Properties:

Property Access Description
system.grid.majorColor Read/write,
numeric

Major grid line color. Numbers from the color list, or transparent (0). The color() function can be used, as in: .majorColor = color(blue)

system.grid.majorType Read/write,
numeric

Major grid line type number: 1 = solid, 2 = dash, 3 = dot, etc., from the Line Type drop down list.

system.grid.majorWidth Read/write,
numeric

Width of the major grid lines in points.

system.grid.minorColor Read/write,
numeric

Minor grid line color. Numbers from the color list, or transparent (0). The color() function can be used, as in: .minorColor = color(blue)

system.grid.minorType Read/write,
numeric

Minor grid line type number: 1 = solid, 2 = dash, 3 = dot, etc., from the Line Type drop down list.

system.grid.minorWidth Read/write,
numeric

Width of the minor grid lines in points.