Note that there is a separate default fill style for rectangles created by set obj. See set style rectangle (p. ).
Syntax:
set style fill {empty | {transparent} solid {<density>} | {transparent} pattern {<n>}} {border {lt} {lc <colorspec>} | noborder}
The empty option causes filled areas not to be filled. This is the default.
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.
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"