CPSETC(3NCARG)

πŸ“¦ version 6.6.2, in epel 9, fedora 43, fedora 44

πŸ’– 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 of PNAM are 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 by PNAM. 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 (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