BARGAP

Purpose:

Sets the gap drawing between bars of a 2D step plot.

Syntax:

BARGAP(win, mode)

win

-

Optional. A Window, defaults to the current Window.

mode

-

Optional. An integer, the bar gap mode:

0:

Do not draw gaps

1:

Draw gaps between bars (default)

Returns:

If mode is not specified,  returns the current bar gap mode.

Example:

W1: gnorm(10, 1);bars;bargap(1);griddot;gridhv

W2: W1;bars;bargap(0);griddot;gridhv

 

The bars in W1 are drawn with gaps between each bar (the default), while the bars in W2 abut each other with no gaps.

Remarks:

BARGAP only effects 2D bar charts.

 

BARGAP is a Window property. All bar plots plotted in the Window will be drawn in the current BARGAP mode.

See Also:

BARCTR

BARS

BARSTYLE

STEPS