# Macro Language: Data Style Commands

`bstyle <lines> <symblos> <fill> <ybars> <xbar> <ystick> <xstick> <dots> <hist> <fhist> <BUFFER>`

Enable or disable styles for data buffers. All styles can be combined (possible values: yes/no).

`bstyleclear <BUFFER>`

Removes all styles from buffer.

`bstylelines <bool> <BUFFER>`

Add or remove line style (possible values: yes/no).

`bstylesymbols <bool> <BUFFER>`

Add or remove symbol style (possible values: yes/no).

`bstylefill <bool> <BUFFER>`

Add or remove filled area style (possible values: yes/no).

`bstyleybars <bool> <BUFFER>`

Add or remove the Y bar style (possible values: yes/no).

`bstylexbars <bool> <BUFFER>`

Add or remove the X bars style (possible values: yes/no).

`bstyleysticks <bool> <BUFFER>`

Add or remove the Y stick style (possible values: yes/no).

`bstylexsticks <bool> <BUFFER>`

Add or remove the X sticks style (possible values: yes/no).

`bstyledots <bool> <BUFFER>`

Add or remove dot style (possible values: yes/no).

`bstylehist <bool> <BUFFER>`

Add or remove histogram style (possible values: yes/no).

`bstylefhist <bool> <BUFFER>`

Add or remove filled histogram style (possible values: yes/no).

`bcolor <c> <c> <c> <BUFFER> [a]`
`bcolor <COLOR> <BUFFER>`

Defines the color for buffers. Dependent on the color mode the three values are RGB or HSB values from 0.0 to 1.0. The color mode can be set with the command color mode (0=RGB, 1=HSB). With `a` the alpha value can be defined (default is 1.0).

`bfillcolor <c> <c> <c> <BUFFER> [a]`
`bfillcolor <COLOR> <BUFFER>`

Defines the color for the fill style. Dependent on the color mode the three values are RGB or HSB values from 0.0 to 1.0. The color mode can be set with the command color mode (0=RGB, 1=HSB). With `a` the alpha value can be defined (default is 1.0). Alternative you can specify the color as hexadecimal string.

`bbarcolor <c> <c> <c> <BUFFER> [a]`
`bbarcolor <COLOR>`

Defines the color for bars. Dependent on the color mode the three values are RGB or HSB values from 0.0 to 1.0. The color mode can be set with the command color mode (0=RGB, 1=HSB). With `a` the alpha value can be defined (default is 1.0). Alternative you can specify the color as hexadecimal string.

`bstickcolor <c> <c> <c> <BUFFER> [a]`
`bstickcolor <COLOR> <BUFFER>`

Defines the stick color. Dependent on the color mode the three values are RGB or HSB values from 0.0 to 1.0. The color mode can be set with the command color mode (0=RGB, 1=HSB). With `a` the alpha value can be defined (default is 1.0). Alternative you can specify the color as hexadecimal string.

`blinewidth <linewidth> <BUFFER>`

Defines the line width for buffers.

`blinepattern <pattern> <BUFFER>`

Defines the dash pattern for buffers (0-15).

`bpatternwidth <patternwidth> <BUFFER>`

Defines the width of dash pattern.

`bsymbol <symbol> <BUFFER>`

Define the symbols for buffers (0-15).

`bsymbolsize <symbolsize> <BUFFER>`

Defines the symbol size for buffers.

`bsymbolfill <bool> <BUFFER>`

If true symbols (0-6) will be filled with the fill color instead of the background color.

`bsticksize <sticksize> <BUFFER>` Set the stick size

`bsticksabs <bool> <BUFFER>`

Defines if the stick size should be an absolute value or not (possible values: yes/no).

`bdynsize <BUFFER> [expr]`

Sets an expression which defines the size of symbols or the length of sticks.

`bxerrorval <error> <BUFFER>`

Defines the value for X error bars.

`bxerror <type> <BUFFER>`

Defines the X error bar type (0=off, 1=absolute, 2=relative, 3=form data).

`byerrorval <error> <BUFFER>`

Defines the value for Y error bars.

`byerror <type> <BUFFER>`

Defines the Y error bar type (0=off, 1=absolute, 2=relative, 3=form data).

`berrorlinewidth <linewidth> <BUFFER>`

Defines the line width for error bars.

`berrorcolor <c> <c> <c> <BUFFER> [a]`
`berrorcolor <COLOR>`

Defines the color of error bars. Dependent on the color mode the three values are RGB or HSB values from 0.0 to 1.0. The color mode can be set with the command color mode (0=RGB, 1=HSB). With `a` the alpha value can be defined (default is 1.0). Alternative you can specify the color as hexadecimal string.

`dirarrows <bool> <BUFFER>`

Toggle direction arrows. If set the X error value will be drawn as direction arrow (0-360 degree)

`dirarrowsize <size> <BUFFER>`

Defines the size of direction arrow.

`dirarrowlength <length> <BUFFER>`

Defines the width of direction arrow.

`dirarrowtype <type> <BUFFER>`

Defines the direction arrow type (0-15).

`blegend <bool> <BUFFER>`

Toggle automatic legend plotting for buffers.

`bfreex <bool> <BUFFER>`

If set for a buffer, the buffer does not depend to any X axis. Instead the display range can be set with the `bfreexrange` command.

`bfreey <bool> <BUFFER>`

If set for a buffer, the buffer does not depend to any Y axis. Instead the display range can be set with the `bfreeyrange` command.

`bfreexrange <min> <max> <BUFFER>`

Defines the X range for buffers which not belong to an X axis.

`bfreeyrange <min> <max> <BUFFER>`

Defines the Y range for buffers which not belong to an Y axis.

`barytop <bool> <BUFFER>`

If set Y bars will be drawn from the top of the frame.

`barybottom <bool> <BUFFER>`

If set Y bars will be drawn from the bottom of the frame.

`barxleft <bool> <BUFFER>`

If set X bars will be drawn from the left of the frame.

`barxright <bool> <BUFFER>`

If set X bars will be drawn from the right of the frame.