PLGDIDEV(3plplot)

πŸ’… PLGDIDEV β€” get parameters that define current device-space window

okay so this is a page straight out of the PLplot API docs, and honestly? it's a little baby function but she's important, so let's get into it bestie πŸŽ€


✨ NAME ✨

plgdidev β€” get parameters that define current device-space window. that's it, that's the vibe, she fetches the numbers that shape your device-space window πŸ¦‹


✨ SYNOPSIS ✨

plgdidev(p_mar, p_aspect, p_jx, p_jy)

✨ DESCRIPTION ✨

so basically plgdidev goes and grabs the relative margin width, the aspect ratio, and the relative justification β€” the three lil ingredients that define the current device-space window. iconic retrieval behavior, no cap πŸ’…

heads up bestie: if plsdidev(3plplot) has not been called, then the default values pointed to by p_mar, p_aspect, p_jx, and p_jy will all be 0. so like, zero. all four of them. nothing set, nothing to see πŸ™ˆ

Redacted form: plgdidev(p_mar, p_aspect, p_jx, p_jy) β€” same thing, just the shortened glow-up version ✨

she also gets a little cameo: this function is used in example 31. go look, she ate πŸ”₯


✨ ARGUMENTS ✨

  • p_mar (PLFLT_NC_SCALAR(3plplot), output) β€” the returned value of the relative margin width πŸ’–
  • p_aspect (PLFLT_NC_SCALAR(3plplot), output) β€” the returned value of the aspect ratio πŸŽ€
  • p_jx (PLFLT_NC_SCALAR(3plplot), output) β€” the returned value of the relative justification in x 🌸
  • p_jy (PLFLT_NC_SCALAR(3plplot), output) β€” the returned value of the relative justification in y 🌈

like, all four are outputs, all four are PLFLT_NC_SCALAR(3plplot), and they all come back filled in for you. slay 🫢


✨ AUTHORS ✨

Many developers β€” and they're all credited over at http://plplot.sourceforge.net/credits.php β€” have contributed to PLplot over its long history. like, long long. main character energy across generations honestly πŸ‘‘ seriously, go read the credits, they earned it πŸ’œ


✨ SEE ALSO ✨


okay bestie that's the whole page πŸ’€ this was PLGDIDEV(3plplot) from the PLplot API, dated August, 2026 β€” and yeah the footer says the same thing, so we're matching, periodt βœ¨πŸŽ€πŸ’–

πŸ“¦ where this page comes from