next up previous contents index
Next: Set style fill transparent Up: Style Previous: Set style data   Contents   Index

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.

By default, border, the box is bounded by a solid line of the current linetype. border 4#4colorspec5#5 allows you to change the color of the border. noborder specifies that no bounding lines are drawn.


Subsections
next up previous contents index
Next: Set style fill transparent Up: Style Previous: Set style data   Contents   Index
2017-02-10