AGSETR(3NCARG)
β¨ AGSETR β¨ β it's giving NCAR Graphics realness π
okay so bestie, welcome to the NCAR Graphics manual, section 3. This one is AGSETR, and yes it's a Fortran-callable routine, and yes it's lowkey iconic. Let's get into it π
πΈ NAME πΈ
AGSETR β literally just lets your user program stash one real number as the value of a single parameter. That's it. That's the whole job. Simple. Elegant. Ate. π
π¦ SYNOPSIS π¦
CALL AGSETR (TPGN,FUSR)
π C-BINDING SYNOPSIS π
#include <ncarg/ncargC.h>
void c_agsetr (char *tpgn, float fusr)
π DESCRIPTION π
okay so here's the tea on the arguments π
TPGNβ an input expression of typeCHARACTER, and it's your parameter identifier, exactly like the ones described over in theAGSETPman page. β οΈ heads up though: if you specify a group of more than one parameter, only the first element of that group gets affected by the call. just the first one. no cap. πFUSRβ an input expression of typeREAL, and this is the value you're handing over to the parameter named byTPGN. π«
π§ C-BINDING DESCRIPTION π§
The C-binding argument descriptions are the same as the FORTRAN argument descriptions. periodt. nothing new here, we stay consistent π
π USAGE π
This routine lets you set the current value of Autograph parameters. π
And if you want the complete list of parameters available in this utility? Go read the autograph_params man page. it's all in there, bestie, go look π₯
β ACCESS β
To use AGSETR or c_agsetr, you gotta load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β preferably in that order. order matters, don't do your own thing π«Ά
Now. If you want smoother curves, drawn using spline interpolation, you also load libdashsmth.o. β¨
OR β plot twist β you can use the ncargf77 command to compile your program and load all those libraries above, and then, for the smoother curves, you hit it with the -dashsmth option. two roads, same slay. πΈ
π SEE ALSO π
Online: autograph, autograph_params, agback, agbnch, agchax, agchcu, agchil, agchnl, agcurv, agdshn, aggetc, aggetf, aggeti, aggetp, aggetr, agpwrt, agrstr, agsave, agsetc, agsetf, agseti, agsetp, 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.
and that's the whole page, bestie!! every flag, every arg, every reference β all present and accounted for, we don't skip content in this house π
okay bye, this was the AGSETR page from UNIX, dated March 1993 β vintage but make it cute, 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