PLSYAX(3plplot)

πŸ’œ PLSYAX β€” plplot API, bestie edition πŸŽ€

okay so you found plsyax in the PLplot API and you're like "what does this even do" β€” don't worry, I got you. It's literally the y-axis twin of plsxax, and we're gonna go through it together ✨


✨ NAME ✨

plsyax β€” set y axis parameters πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

plsyax(digmax, digits)

🌸 DESCRIPTION 🌸

So plsyax is identical to plsxax(3plplot), no cap β€” the only glow-up is that these arguments are the flags for the y axis instead of the x axis. That's it, that's the whole vibe check. If you want the full detail, go read the description of plsxax(3plplot) because it's the main character here and plsyax is just its y-axis understudy 🫢

Redacted form (yes, that's the actual term, iconic): plsyax(digmax, digits)

This function shows up in examples 1, 14, and 31 β€” so it's out here living its life in the PLplot example era πŸ’–


πŸŽ€ ARGUMENTS πŸŽ€

  • digmax (PLINT(3plplot), input) β€” this is the variable that sets the max number of digits for the y axis. If it's nonzero, the printed label gets switched over to a floating-point representation the moment the number of digits exceeds digmax. So like, digmax is the boundary queen πŸ‘‘
  • digits (PLINT(3plplot), input) β€” the field digits value. Okay real talk: currently, changing its value here has no effect, because it's only ever set by plbox(3plplot) or plbox3(3plplot). I know, I know, that's giving "why is this even a parameter" 😭 but listen β€” you can still get its value after you call either of those two functions, by calling plgyax(3plplot). So it's not useless, it's just... a reader, not a writer, iykyk πŸ’€

🌈 AUTHORS 🌈

So many developers contributed to PLplot over its long history (and they're all credited over at http://plplot.sourceforge.net/credits.php) β€” shoutout to the whole group chat, they literally built this thing πŸ‘‘πŸ’œ


⭐ SEE ALSO ⭐

PLplot documentation at http://plplot.sourceforge.net/documentation.php β€” go read it, it's giving lore πŸ“šβœ¨


ngl the one thing to remember: plsyax = y-axis flags, identical to plsxax but for y, and digits won't change anything on its own. Periodt. πŸ’…

August, 2026 β€” that's the date on this page, and the whole thing is PLSYAX(3plplot), so if you ever forget what you just read, just look at the footer bestie πŸ’«πŸ¦‹

πŸ“¦ where this page comes from