plpsty.3plplot - Man Page

Select area fill pattern




If patt is zero or less use either a hardware solid fill if the drivers have that capability (virtually all do) or fall back to a software emulation of a solid fill using the eighth area line fill pattern.  If 0 < patt <= 8, then select one of eight predefined area line fill patterns to use (see plpat(3plplot) if you desire other patterns).

Redacted form: plpsty(patt)

This function is used in examples 12, 13, 15, 16, and 25.


patt (PLINT(3plplot), input)

The desired pattern index. If patt is zero or less, then a solid fill is (normally, see qualifiers above) used.  For patt in the range from 1 to 8 and assuming the driver has not supplied line fill capability itself (most deliberately do not so that line fill patterns look identical for those drivers), the patterns consist of (1) horizontal lines, (2) vertical lines, (3) lines at 45 degrees, (4) lines at -45 degrees, (5) lines at 30 degrees, (6) lines at -30 degrees, (7) both vertical and horizontal lines, and (8) lines at both 45 degrees and -45 degrees.


Many developers (who are credited at have contributed to PLplot over its long history.

See Also

PLplot documentation at


January, 2024 PLplot API