Macro Language: Legend Commands

setlegend <bool>

Enable or disable the legend (possible values: yes/no).

legendpos <x> <y>

Defines the legend position.

setlegendbg <bool>

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

legendlength <length>

Defines the length for legend lines.

legendspace <space>

Defines the vertical space between two legend entries.

legendcolor <c> <c> <c> [a]

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

legendbgcolor <c> <c> <c> [a]

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

legendfont <font> <font size>

Defines the legend font.