PLPSTY(3plplot)
π PLPSTY(3plplot) β like, the area fill pattern selector, bestie
okay so this is a page from the PLplot API manual and it's literally all about plpsty, which picks your area fill pattern. yes. patterns. for filling areas. we love a glow-up for your plots π
β¨ SYNOPSIS β¨
plpsty(patt)
that's it. one argument. she's low maintenance. π
πΈ DESCRIPTION πΈ
so here's the vibe check on patt:
- if
pattis zero or less, you get a hardware solid fill β but only if the drivers have that capability (and honestly, virtually all of them do π«Ά). If they don't, no worries, it falls back to a software emulation of a solid fill using the eighth area line fill pattern. cute of her, honestly. - if 0 <
patt<= 8, you're selecting one of eight predefined area line fill patterns. that's the whole menu. and if you want something else? go seeplpat(3plplot)β she has options. π
Redacted form: plpsty(patt)
and iykyk, this function shows up in examples 12, 13, 15, 16, and 25 β so go look at those if you want to see her in action. π
π¦ ARGUMENTS π¦
patt(PLINT(3plplot), input) β the desired pattern index, bestie. ifpattis zero or less, then a solid fill is used (normally, see the qualifiers above β don't come for me, that's what the docs say π).
now for the good part: for patt in the range from 1 to 8, and assuming the driver hasn't supplied line fill capability itself (and most of them deliberately do not, so that line fill patterns look identical for those drivers β consistency queen π), the patterns are:
- horizontal lines
- vertical lines
- lines at 45 degrees
- lines at -45 degrees
- lines at 30 degrees
- lines at -30 degrees
- both vertical and horizontal lines
- lines at both 45 degrees and -45 degrees
so like, literally pick a number between 1 and 8 and get a whole new aesthetic. slay. π₯
π AUTHORS π
Many developers (who are credited at http://plplot.sourceforge.net/credits.php) have contributed to PLplot over its long history. legends, every single one. π«Άβ¨
π SEE ALSO π
PLplot documentation at http://plplot.sourceforge.net/documentation.php. go read it, it's giving main character energy. π
reminder bestie: patterns 1β8 only, and anything zero or less is solid fill. don't try to get fancy withpatt= 9 unless you're ready to callplpat(3plplot)instead. π
later bestie!! this page is from PLplot, dated August, 2026, filed under PLPSTY(3plplot) β mwah, go make something pretty π¦π
π¦ where this page comes from
- ubuntu stonking: plplot-doc 5.15.0+dfsg3-4 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms