AGSETI(3NCARG)
β¨ AGSETI β¨
okay bestie, so this is a page from the NCAR GRAPHICS manual, section 3NCARG (that's the C/Fortran graphics-library zone, iykyk). It's about a little routine called AGSETI, and it is genuinely so simple it's giving main character energy for doing basically one job π
π NAME π
AGSETI β it lets your program stash the real-number equivalent of an integer in as the value of exactly one parameter. That's it. That's the whole vibe. π
πΈ SYNOPSIS πΈ
CALL AGSETI (TPGN,IUSR)
π¦ C-BINDING SYNOPSIS π¦
#include <ncarg/ncargC.h>
void c_agseti (char *tpgn, int iusr)
β DESCRIPTION β
TPGNβ an input expression of type CHARACTER, and it's your parameter identifier. The manpage says it works the wayAGSETPdescribes it, above. Important tea: if you specify a group of more than one parameter, only the first element of that group gets touched by the call. The rest just sit there. Not invited to the party. πIUSRβ an input expression of type INTEGER, and it's the value you're handing over to whatever parameterTPGNpoints at. π
π C-BINDING DESCRIPTION π
The C-binding argument descriptions are literally the same as the FORTRAN argument descriptions. Same energy, different accent. β¨
π₯ USAGE π₯
So this routine is how you set the current value of Autograph parameters. That's its whole personality.
Wanna see the full menu of parameters this utility has? Go read the autograph_params man page, bestie. It's the plug. π
π EXAMPLES π
Run the ncargex command to peep these relevant examples:
agex05agex06agex07agex08agex09agex10agex11agex12agex13bnchmkcbex01tagupwtautogfagaxlblfagovrvwfspponts
π ACCESS π
To use AGSETI or c_agseti, you load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β preferably in that order, don't be chaotic about it. π
Wanna get smoother curves drawn using spline interpolation? Also load libdashsmth.o. π
Or, alternative route: just use the ncargf77 command to compile your program and load all those libraries above, and then β for the smooth-curve glow-up β use the -dashsmth option. β¨
π SEE ALSO π
Online: autograph, autograph_params, agback, agbnch, agchax, agchcu, agchil, agchnl, agcurv, agdshn, aggetc, aggetf, aggeti, aggetp, aggetr, agpwrt, agrstr, agsave, agsetc, agsetf, agsetp, agsetr, agstup, agutol, anotat, displa, ezmxy, ezmy, ezxy, ezy
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.
not me reminding you that legal text is still legal text even when it's wrapped in butterflies π¦
okay so that's the whole page, and it came from the UNIX manual, dated March 1993, filed under AGSETI(3NCARG). iconic little retro moment, no cap. bye bestie, go set some parameters πβ¨π
π¦ 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