DADiSP Worksheet Functions > Function Categories > Display and Manipulation > STEPCTR

 

STEPCTR

Purpose:

Sets the centering reference of a 2D step plot.

Syntax:

STEPCTR(win, mode)

win

-

Optional. A Window, defaults to the current Window.

mode

-

Optional. An integer, the step centering mode:

0:

Steps begin on values (default)

1:

Center steps on values.

Returns:

If mode is not specified, returns the current step centering mode.

Example:

W1: gnorm(10, 1);steps;stepctr(1);setsym(14)

W2: W1;steps;stepctr(0);setsym(14)

 

The steps in W1 are centered around the data value W2 begin at the data value (the default).

Remarks:

STEPCTR only effects 2D step charts.

 

STEPCTR is a Window property. All step plots plotted in the Window will be drawn in the current STEPCTR mode.

See Also:

BARCTR

BARS

STEPS