Credits Overview Plotting Styles Commands Terminals

set style textbox

Syntax:

        set style textbox {<boxstyle-index>}
                  {opaque|transparent} {fillcolor <color>}
                  {{no}border {linecolor <colorspec>}}{linewidth <lw>}
                  {margins <xmargin>,<ymargin>}

This command controls the appearance of labels with the attribute 'boxed'. Terminal types that do not support boxed text will ignore this style. Note: Implementation for some terminals (svg, latex) is incomplete. Most terminals cannot place a box correctly around rotated text.

Three numbered textbox styles can be defined. If no boxstyle index <bs> is given, the default (unnumbered) style is changed. Example:

     # default style has only a black border
     set style textbox transparent border lc "black"
     # style 2 (bs 2) has a light blue background with no border
     set style textbox 2 opaque fc "light-cyan" noborder
     set label 1 "I'm in a box" boxed
     set label 2 "I'm blue" boxed bs 2