PLMKSTRM(3plplot)
β¨ PLMKSTRM (3plplot) β the PLplot API, bestie edition β¨
okay so we're diving into the PLplot API manual, specifically plmkstrm, and honestly? she's a little icon with a little baggage. let's get into it π
πΈ NAME πΈ
plmkstrm β creates a new stream and makes it the default. that's it, that's the whole gig. main character energy fr π
π¦ SYNOPSIS π¦
plmkstrm(p_strm)
short, sweet, slays. π
β¨ DESCRIPTION β¨
So here's the tea: plmkstrm creates a new stream and makes it the default. periodt. π₯
Now, how is she different from plsstrm(3plplot)? Well bestie, plsstrm makes you bring your own stream number, but plmkstrm is out here doing the work for you β a free stream number is found, and returned. iconic behavior, no cap. π
Unfortunately (and yes, the original doc literally says "unfortunately" π), I have to start at stream 1 and work upward, since stream 0 is preallocated. Like, stream 0 is taken, she's booked and busy, so we begin the search at 1 and climb from there. πͺ
And here's the deep lore: one of the big flaws in the PLplot API is that no initial, library-opening call is required. π So because there's no "hey bestie, we're starting now" moment, stream 0 must be preallocated, and there is no simple way of determining whether it is already in use or not. Like... we just don't know. nobody knows. it's giving mystery. π
Redacted form: plmkstrm(p_strm)
This function is used in examples 1 and 20. go look, i'll wait π«Ά
π ARGUMENTS π
p_strm(PLINT_NC_SCALAR(3plplot), output) β the returned value of the stream number of the created stream. it's an output, so she hands you the number back β you don't bring your own. π
π AUTHORS π
Many developers (who are credited at http://plplot.sourceforge.net/credits.php) have contributed to PLplot over its long history. shoutout to the whole squad, genuinely legends, every single one π«‘π
β SEE ALSO β
PLplot documentation at http://plplot.sourceforge.net/documentation.php. go read, it's giving study date πβ¨
lowkey a reminder: nothing here is a suggestion to not read the docs β the docs are the moment, iykyk πΈ
alright bestie, that's the whole page π β brought to you by the PLplot API man page, dated August, 2026, and delivered with love from your favorite unix-fluent gen z girlie. now go forth and stream responsibly ππ¦π
π¦ 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