PLSCMAP1LA(3plplot)
π NAME π
okay so, bestie, this is plscmap1la β from the 3plplot manual β and it's the one that sets cmap1 colors AND alpha transparency using a piece-wise linear relationship. yes, both. she does it all. β¨
π SYNOPSIS π
plscmap1la(itype, npts, intensity, coord1, coord2, coord3, alpha,
alt_hue_path)
π DESCRIPTION π
So this is the glow-up variant of plscmap1l(3plplot) β literally the same energy, except she supports alpha channel transparency. iconic behavior only. π
What she does: she sets cmap1 colors using a piece-wise linear relationship between the cmap1 intensity index (0.0-1.0) and position in HLS or RGB color space (peep the PLplot documentation for that part, iykyk) β plus an alpha transparency value (0.0-1.0). π¦
And the best part? It may be called at any time. no timing restrictions, no waiting for the right moment, she's always available. main character energy fr fr. π
Redacted form: plscmap1la(itype, intensity, coord1, coord2, coord3, alpha, alt_hue_path) β yes, npts dips out of the redacted version, that's just how it is, no cap. π
Oh and also β this function is used in example 30. go look, it's cute. π
β¨ ARGUMENTS β¨
itype(PLBOOL(3plplot), input) β the classic binary baddie:truemeans RGB,falsemeans HLS. pick your color space, bestie. π¨npts(PLINT(3plplot), input) β number of control points. that's it. that's the count. π’intensity(PLFLT_VECTOR(3plplot), input) β a vector holding the cmap1 intensity index (0.0-1.0) for each control point, and it's gotta be in ascending order. do not come in here all chaotic and unsorted. β¬οΈcoord1(PLFLT_VECTOR(3plplot), input) β a vector with the first coordinate (eitherHorR, depending on youritypesituation) for each control point. πΈcoord2(PLFLT_VECTOR(3plplot), input) β a vector with the second coordinate (eitherLorG) for each control point. πcoord3(PLFLT_VECTOR(3plplot), input) β a vector with the third coordinate (eitherSorB) for each control point. πalpha(PLFLT_VECTOR(3plplot), input) β a vector with the alpha transparency value (0.0-1.0) for each control point. this is literally her whole thing, the transparency, the see-through-ness, the vibe. π«Άalt_hue_path(PLBOOL_VECTOR(3plplot), input) β a vector (withnpts - 1elements, note the minus one!!) holding the alternative interpolation method Boolean value for each control point interval. and before you ask β yes,alt_hue_path[i]refers to the interpolation interval between theiandi + 1control points. so it's intervals, not points. write that down. π
π AUTHORS π
Many developers have contributed to PLplot over its long history β and they're all credited at http://plplot.sourceforge.net/credits.php. legends, every single one of them. π
π₯ SEE ALSO π₯
PLplot documentation at http://plplot.sourceforge.net/documentation.php. go read, it's giving educational. π
mwah π that's the whole page, bestie β PLplot API, 3plplot, dated August, 2026 (future girl summer fr fr). now go make something transparent and gorgeous. π§β¨
π¦ 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