PCDLSC(3NCARG)

πŸ’™ PCDLSC πŸ’™

okay so bestie, this is a page from the NCAR Graphics manual, and the star of the show is PCDLSC β€” the routine that defines the default list of "special colors" that PCHIQU uses when it's drawing certain characters from the filled fonts. πŸ‘‘

Call PCDLSC with the argument IFCI and it will define color indices IFCI, IFCI+1, IFCI+2, ..., IFCI+15, and it will set all elements of the internal parameter array ´CC´ corresponding to indices 1 through 16. ✨

and now the messy part πŸ™ˆ β€” at the moment, even though a call like that does define a set of sixteen colors (ranging from blue to red πŸ’™β†’β€οΈ) and does set the elements of Β΄CCΒ΄, it's a bit pointless, because there are literally no characters for which the special colors are used. like, none. in the future there will be a few such characters (think the state highway symbol, which is normally drawn in a particular pair of colors πŸ›£οΈ), and at that time the routine will be of more use. so rn it's giving "coming soon" energy. πŸ’…


✨ SYNOPSIS ✨

CALL PCDLSC (IFCI)

πŸ¦‹ C-BINDING SYNOPSIS πŸ¦‹

#include <ncarg/ncargC.h>

void c_pcdlsc (int ifci)

🌸 DESCRIPTION 🌸

  • IFCI β€” an input expression of type INTEGER that specifies the first of a set of sixteen color indices that may be defined by PCDLSC. bestie, please make sure that these color indices are not already used. 🫢

πŸ’œ C-BINDING DESCRIPTION πŸ’œ

the C-binding argument descriptions are the same as the FORTRAN argument descriptions. no notes, no differences, same vibe. ✨


πŸŽ€ USAGE πŸŽ€

this routine lets you set the current value of Plotchar parameters. for a complete list of parameters available in this utility, see the plotchar_params man page. πŸ“–


🌈 ACCESS 🌈

to use PCDLSC or c_pcdlsc, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β€” preferably in that order. order matters, don't fight it. πŸ‘‘


πŸ’Œ MESSAGES πŸ’Œ

see the plotchar man page for a description of all Plotchar error messages and/or informational messages. πŸ“¬


πŸ‘€ SEE ALSO πŸ‘€

Online: plotchar, plotchar_params, pcgetc, pcgeti, pcgetr, pchiqu, pcloqu, pcmequ, pcmpxy, pcpnwi, pcrset, pcsetc, pcseti, pcsetr, ncarg_cbind.

Hardcopy: NCAR Graphics Fundamentals, UNIX Version


Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.


ngl the plot twist here is that this whole routine is basically a gorgeous outfit with nowhere to go yet β€” but the glow-up is coming, iykyk. 🧚

mwah πŸ’‹ that's the whole page β€” this was the UNIX version, dated March 1993, and the man page is PCDLSC(3NCARG). periodt. πŸ’…βœ¨