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 typeINTEGERthat specifies the first of a set of sixteen color indices that may be defined byPCDLSC. 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 π
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. π
β¨
π¦ where this page comes from
- debian bookworm: libncarg-dev 6.6.2.dfsg.1-1
- debian trixie: libncarg-dev 6.6.2.dfsg.1-10+b2
- ubuntu jammy: libncarg-dev 6.6.2-10build2
- ubuntu questing: libncarg-dev 6.6.2.dfsg.1-10build2
- ubuntu resolute: libncarg-dev 6.6.2.dfsg.1-12
- ubuntu stonking: libncarg-dev 6.6.2.dfsg.1-12build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms