NGSETR(3NCARG)
β¨ NGSETR β it's giving "set a real parameter" π
okay bestie, welcome to the NGSETR page, straight outta the NCAR GRAPHICS manual (section 3NCARG, if you're keeping score π). This is the lil routine that slides a brand new REAL value into an internal parameter of Ngmisc. And if you wanna see the whole roster of Ngmisc internal params? Go read the ngmisc_params man page, no cap. πβ¨
πΈ SYNOPSIS πΈ
CALL NGSETR (PNAM, RVAL)
π¦ C-BINDING SYNOPSIS π¦
#include <ncarg/ncargC.h>
void c_ngsetr (char *pnam, float rval)
π DESCRIPTION π
PNAMβ an input constant or variable of typeCHARACTER, and it's literally just the name of the parameter you wanna set. Heads up though: only the first two characters of the string get examined. Two. That's it. So don't come in here writing whole essays, she's only reading the first two letters. πRVALβ an input expression of typeREAL, and it's the value you want that internal parameter to have. The dream value. The one. π
π C-BINDING DESCRIPTION π
The C-binding argument descriptions are the same as the FORTRAN argument descriptions. Like, identical. Same energy, different font. π«Ά
β USAGE β
This routine lets you set the current value of Ngmisc parameters. That's the whole gig. And for the complete list of parameters available in this utility, bestie, you already know where to go: the ngmisc_params man page. Go look. I'll wait. π
π₯ ACCESS π₯
To use NGSETR or c_ngsetr, you gotta load the NCAR Graphics libraries ncarg, ncarg_gks, ncarg_c, and ncarg_c β preferably in that order. Yes, ncarg_c shows up twice. That's not a typo, that's the assignment. Load them in that order or the vibe check fails. π
π SEE ALSO π
Online:
ngmisc_paramsnggetrngsetcnggetcngsetinggetincarg_cbind
Online URL: http://ngwww.ucar.edu/ngdoc/ng/gks/gkshome.html
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.
okay that's the whole page, you ate it, you're the main character of this man page now π§π this was NGSETR(3NCARG), from the UNIX manual, dated April 1994 β yeah she's vintage, she's iconic, periodt. mwah ππΈ
π¦ 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