PLCOL0(3plplot)
π PLCOL0 β set the color, bestie
okay so real talk: this is a <pink>PLplot API</pink> page, it lives in section 3 of the manual, and it's called PLCOL0. That's the whole header situation, we're moving on β¨
πΈ NAME πΈ
plcol0 β set the color, cmap0. that's it. that's the gig. π
π¦ SYNOPSIS π¦
plcol0(icol0)
β¨ DESCRIPTION β¨
So plcol0 sets the color index for cmap0 β and if you're like "bestie what is cmap0", the PLplot documentation has you covered, go read it, iykyk π
Redacted form: plcol0(icol0)
This function is used in examples 1-9, 11-16, 18-27, and 29. like, she's everywhere. main character energy fr fr π
π ARGUMENTS π
icol0(PLINT(3plplot), input) β an integer representing the color. and no, they're not asking you to be creative, the defaults at present are these (and lowkey they may change, so don't get too attached π):
0 black (default background)
1 red (default foreground)
2 yellow
3 green
4 aquamarine
5 pink
6 wheat
7 grey
8 brown
9 blue
10 BlueViolet
11 cyan
12 turquoise
13 magenta
14 salmon
15 white
Useplscmap0(3plplot)to change the entirecmap0color palette, andplscol0(3plplot)to change an individual color in thecmap0color palette. two different functions, two different vibes, don't mix them up π
π«Ά AUTHORS π«Ά
Many developers (who are credited at http://plplot.sourceforge.net/credits.php) have contributed to PLplot over its long history. icons, every single one of them π
β SEE ALSO β
PLplot documentation at http://plplot.sourceforge.net/documentation.php. go off, read the docs, slay π
and that's the page!! PLplot API realness, from the PLplot source/version fam, dated August, 2026 β signing off, ily, go color something pretty π¦ππ
π¦ 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