PLSCMAP0(3plplot)

πŸ’… NAME πŸ’…

ok so plscmap0 β€” it sets your cmap0 colors using 8-bit RGB values, and honestly? iconic. that's the whole vibe. 🎨✨


✨ SYNOPSIS ✨

plscmap0(r, g, b, ncol0)

πŸŽ€ DESCRIPTION πŸŽ€

bestie listen. plscmap0 sets the cmap0 colors using 8-bit RGB values (peep the PLplot documentation for the full lore on that). and just so we're clear β€” this sets the entire color map, okay? only as many colors as you actually specify will be allocated. no extras, no surprise colors, periodt. πŸ’…

Redacted form: plscmap0(r, g, b)

this function is used in examples 2 and 24, so like… it's lowkey famous. πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • r (PLINT_VECTOR(3plplot), input) β€” a vector holding unsigned 8-bit integers (0-255) that say how much red is in the color. πŸ”΄
  • g (PLINT_VECTOR(3plplot), input) β€” a vector holding unsigned 8-bit integers (0-255) that say how much green is in the color. 🟒
  • b (PLINT_VECTOR(3plplot), input) β€” a vector holding unsigned 8-bit integers (0-255) that say how much blue is in the color. πŸ”΅
  • ncol0 (PLINT(3plplot), input) β€” the number of items in the r, g, and b vectors. like, how many colors are we even doing here. πŸ”’

πŸ‘‘ AUTHORS πŸ‘‘

so many developers have contributed to PLplot over its long history β€” they're all credited at http://plplot.sourceforge.net/credits.php. absolute legends, every single one. 🫢


🌈 SEE ALSO 🌈


ngl this page is from the PLplot API (that's the source/version babe) and it's dated August, 2026 β€” so yes she's fresh. πŸ’–

that's it, that's the manpage. slay, go color something pretty. πŸŽ€πŸ¦‹βœ¨

πŸ“¦ where this page comes from