Sets the gap drawing between bars of a 2D step plot.
BARGAP(win, mode)
win |
- |
Optional. A Window, defaults to the current Window. |
||||
mode |
- |
Optional. An integer, the bar gap mode:
|
If mode is not specified, returns the current bar gap mode.
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.
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.