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 patt is 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 see plpat(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. if patt is 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:

  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
  8. 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 with patt = 9 unless you're ready to call plpat(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