STSETC(3NCARG)
π« STSETC β the NCAR Graphics glow-up π«
okay bestie, gather round π this is a page from the NCAR GRAPHICS manual, and today we're learning about STSETC from section 3NCARG. It's the routine that sets the value of a Streamlines parameter of type CHARACTER. she's giving librarian-with-a-pastel-highlighter energy and honestly? iconic.
β¨ NAME β¨
STSETC β Sets the value of a Streamlines parameter of type CHARACTER. literally that's it, that's the whole job, and she does it flawlessly π
πΈ SYNOPSIS πΈ
CALL STSETC (CNM,CVL)
that's the whole vibe right there β two args, no drama, no notes.
π¦ C-BINDING SYNOPSIS π¦
#include <ncarg/ncargC.h>
void c_stsetc (char *cnm, char *cvl)
for my C girlies: same energy, lowercase name, char * everywhere. slay.
π DESCRIPTION π
CNM(CHARACTER, input) β this is the name of the parameter you're about to hand a character value to. Important tea: only the first three characters ofCNMactually get examined, so don't get cute with the rest of it. Those three characters have to be either entirely uppercase or entirely lowercase β mixed case is not recognized, periodt. π And listen, the manual recommends you use the leftover characters to make your code readable for future-you (who will absolutely forget what any of this meant). Like, instead ofZFT, writeZFT - Zero Field Text String. ngl that's just good manners to your future self π«ΆCVL(CHARACTER, input) β an expression, and the value of that expression is what gets handed to the parameter thatCNMnames. simple. clean. no cap.
π C-BINDING DESCRIPTION π
The C-binding argument descriptions are the same as the FORTRAN argument descriptions. same facts, different font, bestie β nothing new to learn here β¨
π₯ USAGE π₯
This routine lets you set the current value of Streamlines parameters that are of type CHARACTER. That's the whole mission statement.
For a complete list of parameters available in this utility, go see the streamlines_params man page. yes, the full menu, go read it, I'll wait π
β EXAMPLES β
Use the ncargex command to see the following relevant examples: fcover, ffex00. go look at them, they're right there, they're free π
π ACCESS π
To use STSETC or c_stsetc, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β preferably in that order. order matters, bestie, don't freestyle it π
π MESSAGES π
See the streamlines man page for a description of all Streamlines error messages and/or informational messages. if something goes sideways, that's where the receipts live π
π SEE ALSO π
- Online:
stgetc,stgeti,stgetr,stinit,stream,streamlines,streamlines_params,strset,stseti,stsetr,stuixy,stumsl,stumta,stumxy,ncarg_cbind. the whole friend group, all tagged β¨ - Hardcopy:
NCAR Graphics Fundamentals, UNIX Versionfor when you want the physical lore π
π¦ COPYRIGHT π¦
Copyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
keep this part exactly as it is, bestie β it's the legal tea and it is not ours to remix π
reminder: this page is from the UNIX manual, dated April 1993, under the manual nameNCAR GRAPHICS, section3NCARG. the header saidSTSETC(3NCARG)and the footer saidUNIX/April 1993/STSETC(3NCARG)β so there you go, the whole origin story πΈ
k byeee, go set some character parameters, you absolute main character πβ¨ππ¦πΈπ π«Ά
π¦ 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