# Macro Language: Style Commands

`margins <left> <right> <bottom> <top>`

Defines the margins between window and frame.

`windowsize <width> <height>`

Defines the window size.

`drawbg <bool>`

Enable or disable background drawing (possible values: yes/no).

`drawmargin <bool>`

Enable or disable margin background drawing (possible values: yes/no).

`drawframe <bool>`

Enable or disable frame drawing (possible values: yes/no).

`bgcolor <c> <c> <c> [a]`
`bgcolor <COLOR>`

Defines the background 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.

`margincolor <c> <c> <c> [a]`
`margincolor <COLOR>`

Defines the margin 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.

`framecolor <c> <c> <c> [a]`
`framecolor <COLOR>`

Defines the frame 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.

`framewidth <width>`

Defines the frame width.

`framestyle <style>`

Defines the frame style. (0=full frame, 1=line at X and Y axis, 2=draw a cross at 0).

`forceframe <bool>`

If enabled a full frame will always be drawn (possible values: yes/no).

`framearrows <bool>`

If enabled arrow will be drawn for frame style 1 and 2.

`crossarrows <type>`

Set where a cross axis should have arrows (possible values: min/max/both).

`framearrowsize <size>`

Defines the size of frame arrows.

`framearrowtype <type>`

Defines the frame arrow type (0=open, 1=closed, 2=bar).