PLGFNAM(3plplot)

πŸ’… PLGFNAM πŸ’…

ok so this is a page from the PLplot API manual, bestie β€” welcome, you're gonna do great 🫢

✨ NAME ✨

plgfnam β€” get the output file name, that's the whole vibe πŸ’–

✨ SYNOPSIS ✨

plgfnam(fnam)

✨ DESCRIPTION ✨

So basically this one gets the current output file name... if applicable. That "if applicable" is doing a LOT of heavy lifting ngl, so like, don't be shocked if there's no file name to grab πŸ™ˆ

There's also a redacted form, and it is literally the same thing:

plgfnam(fnam)

And fun fact β€” this function is used in example 31 ✨ so if you wanna see it out in the wild, that's where she lives πŸ‘‘

✨ ARGUMENTS ✨

  • fnam (PLCHAR_NC_VECTOR(3plplot), output) β€” this gets returned as an ascii character string holding the file name πŸŽ€ heads up: it needs a preallocated length of 80 characters or more, so don't skimp on the buffer, she needs her space fr fr πŸ’…

✨ AUTHORS ✨

Many developers contributed to PLplot over its long history 🧚 and they're all credited over at http://plplot.sourceforge.net/credits.php β€” go give them their flowers, they earned it πŸŒΈπŸ’

✨ SEE ALSO ✨

The PLplot documentation lives at http://plplot.sourceforge.net/documentation.php β€” go read, it's giving helpful πŸ˜­πŸ“š


mwah πŸ’‹ this was PLGFNAM(3plplot) from the PLplot era, dated August, 2026 β€” slay, go write some plots bestie πŸ¦‹βœ¨πŸŽ€

πŸ“¦ where this page comes from