### Set style fill

The set style fill command is used to set the default style of the plot elements in plots with boxes, histograms, candlesticks and filledcurves. This default can be superseded by fillstyles attached to individual plots. See also 'set style rectangle'.

Syntax:

         set style fill {empty
                         | {transparent} solid {<density>}
                         | {transparent} pattern {<n>}}
                        {border {lt} {lc <colorspec>} | noborder}

The default fillstyle is empty.

The solid option causes filling with a solid color, if the terminal supports that. The 4#4density5#5 parameter specifies the intensity of the fill color. At a 4#4density5#5 of 0.0, the box is empty, at 4#4density5#5 of 1.0, the inner area is of the same color as the current linetype. Some terminal types can vary the density continuously; others implement only a few levels of partial fill. If no 4#4density5#5 parameter is given, it defaults to 1.

The pattern option causes filling to be done with a fill pattern supplied by the terminal driver. The kind and number of available fill patterns depend on the terminal driver. If multiple datasets using filled boxes are plotted, the pattern cycles through all available pattern types, starting from pattern 4#4n5#5, much as the line type cycles for multiple line plots.

The empty option causes filled boxes not to be filled. This is the default.

Fill color (fillcolor 4#4colorspec5#5) is distinct from fill style. I.e. plot elements or objects can share a fillstyle while retaining separate colors. In most places where a fillstyle is accepted you can also specify a fill color. Fillcolor may be abbreviated fc. Otherwise the fill color is take from the current linetype. Example:

         plot FOO with boxes fillstyle solid 1.0 fillcolor "cyan"

Subsections

- Set style fill border
- Set style fill transparent