DADiSP Worksheet Functions > Function Categories > Query Functions > GETGRIDSTYLE

 

GETGRIDSTYLE

Purpose:

Returns the style of the grid.

Syntax:

GETGRIDSTYLE(win, grid)

win

-

Optional. Window reference. Defaults to the current Window.

grid

-

Optional. An integer, the grid axis.

1:

X Grid (default)

2:

Y Grid

3:

Z grid

Returns:

An integer, the grid style:

 

0:   

Off

1:

Solid

2:

Dashed

3:

Ddotted

Example:

W1: gnorm(100, 1);griddot;gridhv

getgridstyle(W1)

 

returns 3, indicating the grid style of Window 1 is dotted.

Remarks:

See SETGRIDSTYLE to set the grid style.

See Also:

dspcolor file

GETGRIDCOLOR

GRIDCOLOR

GRIDDASH

GRIDDOT

GRIDH

GRIDHV

GRIDOFF

GRIDSOL

GRIDV

SETGRIDSTYLE