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 way AGSETP describes 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 parameter TPGN points 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:

  • agex05
  • agex06
  • agex07
  • agex08
  • agex09
  • agex10
  • agex11
  • agex12
  • agex13
  • bnchmk
  • cbex01
  • tagupw
  • tautog
  • fagaxlbl
  • fagovrvw
  • fspponts

🌈 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 (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 πŸ’–βœ¨πŸŽ€