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: ifplsdidev(3plplot)has not been called, then the default values pointed to byp_mar,p_aspect,p_jx, andp_jywill all be0. 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 β¨
- PLplot documentation at http://plplot.sourceforge.net/documentation.php β literally everything else lives there, iykyk π
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
- 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