PLSPAL1(3plplot)
π PLSPAL1 β like, the whole vibe check on plspal1(3plplot)
okay so bestie, welcome to the PLplot API manual page for plspal1, and yes we are absolutely going to get into it π
β¨ NAME β¨
plspal1 β sets the cmap1 palette using the cmap1*.pal format file you point at π¦
πΈ SYNOPSIS πΈ
plspal1(filename, interpolate)
π DESCRIPTION π
So basically: this one sets the cmap1 palette using the cmap1*.pal format file you specify. That's the whole job. She's focused, she's iconic, she does one thing π
Redacted form, since you know the docs love a redacted form: plspal1(filename, interpolate)
And fun fact β this function is used in example 16. periodt π
π§ ARGUMENTS π§
filename(PLCHAR_VECTOR(3plplot), input) β an ascii character string holding the name of thecmap1*.palfile. And listen, if this string is empty? It just uses the defaultcmap1*.palfile. no stress, she's got a fallback π«Άinterpolate(PLBOOL(3plplot), input) β okay this one's the main character, lemme explain π
If this parameter is true, the columns in the cmap1*.pal file containing the intensity index, r, g, b, alpha and alt_hue_path get used to set the cmap1 palette, with a call to plscmap1la(3plplot). (And heads up β the cmap1*.pal header contains a flag that controls whether the r, g, b data sent to plscmap1la(3plplot) gets interpreted as HLS or RGB. iykyk π)
If this parameter is false, then the intensity index and alt_hue_path columns are, like, completely ignored π and instead the r, g, b columns (interpreted as RGB) and the alpha column of the cmap1*.pal file get used to set the cmap1 palette directly with a call to plscmap1a(3plplot). two different paths, both valid, we respect both π
π AUTHORS π
Many developers (who are credited at http://plplot.sourceforge.net/credits.php) have contributed to PLplot over its long history. literally so many legends, we love a collaborative queen π
π₯ SEE ALSO π₯
PLplot documentation at http://plplot.sourceforge.net/documentation.php β go read it bestie, it's giving β¨
and that's the page!! π source/version is the PLplot API, dated August, 2026 β catch you next time, mwah ππ
π¦ 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