STSETR(3NCARG)
β¨ STSETR β¨
okay bestie, welcome to the NCAR Graphics corner of the universe π¦ this one lives in section 3NCARG and it's literally the lil' function that lets you set a REAL parameter. yes, the float girlies are getting their moment π
π NAME π
STSETR β sets the value of an internal parameter of type REAL. no cap, that's the whole job description π
πΈ SYNOPSIS πΈ
CALL STSETR (CNM,RVL)
π¦ C-BINDING SYNOPSIS π¦
#include <ncarg/ncargC.h>
void c_stsetr(char *cnm, float rvl)
β¨ DESCRIPTION β¨
CNMβ (CHARACTER, input) the name of the parameter that's about to get a real value dropped on it π only the first three characters ofCNMare actually examined, so don't waste your breath on the rest (jk, do it for readability, more on that in a sec). those three characters have to be entirely upper case OR entirely lower case β mixed case is simply not recognized, it's giving confused energy and the routine will not be picking up what you're putting down π
pro tip from the manpage itself: it is recommended that the rest of the character string be used to improve the readability of the code. like, instead of'DFM', use'DFM - Differential Magnitude'. do it for the plot. do it for future you π«Ά
RVLβ (REAL, input) an expression, and whatever that expression evaluates to is the value that gets handed to the parameter specified byCNM. simple as π§
π C-BINDING DESCRIPTION π
the C-binding argument descriptions are the exact same as the FORTRAN argument descriptions. same facts, different syntax, we love a bilingual icon π
π USAGE π
this routine is your girl for setting the current value of Streamlines parameters of type REAL. if you want the complete list of parameters available in this utility, go read the streamlines_params man page. it's all in there, i promise π
β EXAMPLES β
use the ncargex command to see the following relevant examples:
ffex00ffex03ffex04fstreamstex01stex02stex03
go look at them, they ate π₯
π ACCESS π
to use STSETR or c_stsetr, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β preferably in that order. order matters bestie, don't be chaotic π
π MESSAGES π
see the streamlines man page for a description of all Streamlines error messages and/or informational messages. every last one. no skipping π
π SEE ALSO π
Online: stgetc, stgeti, stgetr, stinit, stream, streamlines, streamlines_params, strset, stsetc, stseti, stuixy, stumsl, stumta, stumxy, 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, that license line is doing the most, but we respect it π«‘
and that's the whole page!! this one is from the NCAR GRAPHICS manual, dated April 1993, and the source line said UNIX β iconic vintage behavior, slay πβ¨π
π¦ 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