PLGCOLBG(3plplot)
π PLGCOLBG π
okay so this is a page from the PLplot API manual (that's the manual name, bestie, we're just folding it in here so it doesn't get lonely at the top) π«Ά
β¨ NAME β¨
plgcolbg β it hands you back the background color, which is cmap0[0], as an 8-bit RGB value. that's it, that's the whole job, and it does it flawlessly π
β¨ SYNOPSIS β¨
plgcolbg(r, g, b)
β¨ DESCRIPTION β¨
So likeβ¦ plgcolbg returns the background color, aka cmap0[0], expressed as an 8-bit RGB value. three little numbers, one big vibe π
Redacted form: plgcolbg(r, g, b) β yes bestie, same thing, it's just the short version, nothing shady going on π
Also! This function shows up in example 31, so if you wanna see it living its best life in the wild, go look there π
π ARGUMENTS π
r(PLINT_NC_SCALAR(3plplot), output) β the returned red intensity, and it's a number from0to255. literally a whole 8 bits of red, slay π₯g(PLINT_NC_SCALAR(3plplot), output) β the returned green intensity, also in the range from0to255. green flag behavior fr fr πb(PLINT_NC_SCALAR(3plplot), output) β the returned blue intensity, range0to255as well. blue era, we love to see it π
ngl, all three of these are output args, so the function is the one filling them in for you β you're not passing in your own values, you're receiving gifts π
π AUTHORS π
So many developers contributed to PLplot over its long history and they're all credited at http://plplot.sourceforge.net/credits.php β like, the whole friend group showed up for this one, iconic behavior honestly ππ
π¦ SEE ALSO π¦
The PLplot documentation, living at http://plplot.sourceforge.net/documentation.php β go read it, it's giving main character energy πβ¨
and that's the page!! this beauty is from the PLplot source, dated August, 2026 β that's the version/date footer in case you were wondering, and no I did not forget it, I would never π β¨π
π¦ 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