Sets the centering of a 2D bar plot.
BARCTR(win, mode)
win |
- |
Optional. A Window, defaults to the current Window. |
||||
mode |
- |
Optional. An integer, the bar centering mode:
|
If mode is not specified, returns the current bar centering mode.
W1: gnorm(10, 1);bars;barctr(1);griddot;gridhv
W2: W1;bars;barctr(0);griddot;gridhv
The bars in W1 are centered around the data values (the default) while the bars in W2 begin at the data values (the default).
BARCTR only effects 2D bar charts.
BARCTR is a Window property. All bar plots plotted in the Window will be drawn in the current BARCTR mode.