PLXORMOD(3plplot)

πŸ’… PLXORMOD (3plplot) β€” the xor mode glow-up ✨

Okay bestie, so this one's from the PLplot API β€” like, the whole 3plplot manual family πŸŽ€ β€” and it's literally the switch that flips xor mode on and off. Buckle up, it's short but it eats.


✨ NAME ✨

plxormod β€” enter or leave xor mode. That's it, that's the whole vibe πŸ¦‹


🌸 SYNOPSIS 🌸

plxormod(mode, status)

πŸ’– DESCRIPTION πŸ’–

So, like β€” this enters xor mode when mode is true, and leaves xor mode when mode is false. But plot twist 🫢: it only works for those drivers that actually support it (the xwin driver is the classic example, iykyk).

What's xor mode even for? Bestie it's iconic β€” it enables erasing plots by drawing the same line, symbol, etc. twice. Draw it once, it appears. Draw it again, it's gone. Literally main character energy πŸ’…βœ¨

But ngl, if the driver is not capable of xor operation, it returns a status of false. No cap, that's just how it is 😭

Redacted form: plxormod(mode, status)

This function is used in examples 1 and 20 β€” so go look at those if you wanna see it in the wild πŸ‘‘


🌈 ARGUMENTS 🌈

  • mode (PLBOOL(3plplot), input) β€” when mode is true it means enter xor mode, and when mode is false it means leave xor mode. Binary queen πŸŽ€
  • status (PLBOOL_NC_SCALAR(3plplot), output) β€” the returned value of the status. A modestatus of true (false) means the driver is capable (incapable) of xor mode. So true = slay, false = it's giving unsupported πŸ’€

πŸ‘‘ AUTHORS πŸ‘‘

Many developers (who are credited at http://plplot.sourceforge.net/credits.php) have contributed to PLplot over its long history. Genuinely so many legends 🫢🌟


πŸ¦‹ SEE ALSO πŸ¦‹

PLplot documentation at http://plplot.sourceforge.net/documentation.php β€” go read it, it's a whole thing πŸ’œ


That's the tea, bestie πŸ“ This was the PLplot API page, dated August, 2026 β€” catch you in the next manpage, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from