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 exceedsdigmax. So like,digmaxis 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 byplbox(3plplot)orplbox3(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 callingplgyax(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 toplsxaxbut for y, anddigitswon'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
- 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