SETGRIDSTYLE

Purpose:

Sets the style of the grid.

Syntax:

SETGRIDSTYLE(win, grid, style, plotnow)

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

style

-

Optional. An integer, the grid style.

0:

No grids (default)

1:

Solid

2:

Dashed

3:

Dotted

plotnow

-

Optional. An integer, replot the window.

0:

No replot

1:

Replot immediately (default)

Returns:

Nothing, the axis grid style is set.

Example:

W1: gnorm(100, 1);setgridstyle(1, 3)

 

sets the X axis grids to dotted.

Example:

W2: gnorm(100, 1);setgridstyle(1, 1);setgridstyle(2, 1)

 

sets the X and Y grids to solid.

Remarks:

See GETGRIDSTYLE to return the grid style.

See Also:

dspcolor file

GETGRIDCOLOR

GETGRIDSTYLE

GRIDCOLOR

GRIDDASH

GRIDDOT

GRIDH

GRIDHV

GRIDOFF

GRIDSOL

GRIDV