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
Use plscmap0(3plplot) to change the entire cmap0 color palette, and plscol0(3plplot) to change an individual color in the cmap0 color 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