CPSETC(3NCARG)
π CPSETC β it's giving "set a character parameter" β¨
okay bestie, welcome to the NCAR Graphics manual pages, this one's CPSETC from section 3NCARG and she is so easy, no cap π
πΈ NAME πΈ
CPSETC β sets the value of an internal parameter of type CHARACTER. that's it, that's the whole job, and she does it flawlessly π
β¨ SYNOPSIS β¨
CALL CPSETC (PNAM, CVAL)
π¦ C-BINDING SYNOPSIS π¦
#include <ncarg/ncargC.h>
void c_cpsetc (char *pnam, char *cval)
π DESCRIPTION π
PNAM(CHARACTER, input) β the name of a parameter that's about to get a character value. listen. only the first three characters ofPNAMare examined. the rest? purely for your own readability, bestie, it's decoration. the manpage literally recommends you use the extra characters to make your code make sense. for example, instead of'ILT', use'ILT - INFORMATIONAL LABEL TEXT'. the way that's actually iconic of them to suggest π«ΆCVAL(CHARACTER, input) β a character constant or variable, and its value is what gets handed over to the parameter named byPNAM. that's the vibe transfer. β¨
π C-BINDING DESCRIPTION π
the C-binding argument descriptions are the same as the FORTRAN argument descriptions. no changes, no plot twist, we love consistency π
π USAGE π
this routine lets you set the current value of Conpack parameters. it's giving "one little call, big contouring energy."
for a complete list of parameters available in this utility, go read the conpack_params man page. she has the full menu π
π₯ EXAMPLES π₯
run the ncargex command to see the following relevant examples, bestie:
ccpcica, ccphlt, ccpilt, ccpklb, ccplbdr, ccpllc, ccpllp, ccpllt, ccpmovi, cpex02, cpex04, cpex05, cpex06, cbex01, fcover, ffex03, ffex05.
that's a whole lineup. ate. π
π ACCESS π
to use CPSETC or c_cpsetc, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order. order matters, bestie, don't do your own thing here π
π MESSAGES π
see the conpack man page for a description of all Conpack error messages and/or informational messages. if she's yelling at you, that's where the translation lives π
β SEE ALSO β
Online:
conpack, conpack_params, cpback, cpchcf, cpchcl, cpchhl, cpchil, cpchll, cpcica, cpclam, cpcldm, cpcldr, cpcltr, cpcnrc, cpdrpl, cpezct, cpgetc, cpgeti, cpgetr, cplbam, cplbdr, cpmpxy, cpmviw, cpmvrw, cppkcl, cppklb, cprect, cprset, cpscae, cpseti, cpsetr, cpsps1, cpsps2, ncarg_cbind
Hardcopy:
NCAR Graphics Contouring and Mapping Tutorial
like, the whole friend group showed up to the function. iykyk π§
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
fr fr, that license agreement is real and it governs the use of this software. don't skip it. β οΈ
and that's the page, bestie π she came from the NCAR Graphics manual (UNIX), dated March 1993, filed under CPSETC(3NCARG) β periodt. go set some character parameters, you main character ππ
π¦ 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