PCSETC(3NCARG)
π PCSETC β bestie, let's set a character parameter π
okay so this is PCSETC, a lil routine from the NCAR Graphics crew (manual section 3NCARG, if you're keeping track π). Short version: it hands a brand-new character value to an internal parameter you pick. it's giving "glow up, but for a parameter." β¨
β¨ SYNOPSIS β¨
CALL PCSETC (PNAM,CVAL)
π C-BINDING SYNOPSIS π
#include <ncarg/ncargC.h>
void c_pcsetc (char *pnam, char *cval)
π DESCRIPTION π
PNAMβ an input constant or variable of typeCHARACTER, and it's the name of the parameter you wanna set. the name has to sit in the first two characters of the string, no cap. now here's the tea: if the internal parameter is one of the two that are arrays β those would beΒ΄BCΒ΄andΒ΄CCΒ΄β then you can drop the index of the array element you want, wrapped in parentheses, in columns 3 and following. and honestly? the rest of the characters are yours to vibe with. they're just there to document what the parameter is doing. like, instead of justΒ΄MAΒ΄, you can writeΒ΄MA - MAPPING FLAGΒ΄, and instead ofΒ΄CC(10)Β΄, you can writeΒ΄CC(10) - SPECIAL COLOR 10Β΄. cute AND informative, we love that for us π«ΆCVALβ an input constant or variable of typeCHARACTER, and it's the value that gets assigned to the internal parameter thatPNAMpointed at. that's it, that's the whole job.
πΈ C-BINDING DESCRIPTION πΈ
the C-binding argument descriptions are literally the same as the FORTRAN argument descriptions. same energy, different language. π
π₯ USAGE π₯
this routine lets you set the current value of Plotchar parameters. obsessed. for the complete list of parameters available in this utility, go check out the plotchar_params man page β it's the whole menu, bestie. π
π¦ EXAMPLES π¦
wanna see it in the wild? use the ncargex command to peep these relevant examples:
coex02coex03epltchfcoord1fcoord2fpcfontsfpchiqufslfont
π ACCESS π
to use PCSETC or c_pcsetc, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β and preferably in that order. don't be chaotic about it. π
π MESSAGES π
for a description of all the Plotchar error messages and/or informational messages, see the plotchar man page. all the drama lives there. π
π SEE ALSO π
Online: plotchar, plotchar_params, pcdlsc, pcgetc, pcgeti, pcgetr, pchiqu, pcloqu, pcmequ, pcmpxy, pcpnwi, pcrset, 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. (read it, bestie, fr fr π)
ok that's the whole page!! now go set some parameters and slay. periodt. πβ¨
UNIX Β· March 1993 Β· PCSETC(3NCARG) β mwah, that's the vintage, and this manual page is officially signed off ππ«Ά
π¦ where this page comes from
- epel 9: ncl-devel 6.6.2-59.el9 Β· LicenseRef-Callaway-BSD
- fedora 43: ncl-devel 6.6.2-58.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: ncl-devel 6.6.2-62.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms