AGSETF(3NCARG)

✨ AGSETF ✨ (aka the NCAR GRAPHICS page, bestie edition πŸ’…)

okay so listen. this is AGSETF, a lil routine from the NCAR Graphics manual, and it's literally just "set one real number parameter, that's it, that's the whole job." iconic behavior tbh πŸŽ€


🌸 NAME 🌸

AGSETF β€” lets your program store a real number as the value of a single parameter. one parameter. one number. no cap. 🫢


🌈 SYNOPSIS 🌈

CALL AGSETF (TPGN,FUSR)

πŸ’œ C-BINDING SYNOPSIS πŸ’œ

#include <ncarg/ncargC.h>

void c_agsetf (char *tpgn, float fusr)

πŸ¦‹ DESCRIPTION πŸ¦‹

  • TPGN β€” an input expression of type CHARACTER, and it's a parameter identifier, exactly like the ones described in the AGSETP man page. ⚠️ heads up bestie: if you specify a group of more than one parameter, only the first element of that group gets affected by the call. the rest are just standing there like 🧍
  • FUSR β€” an input expression of type REAL, and it's the value you're giving to the parameter specified by TPGN. that's the gift. you're handing it a number. 🎁

🧚 C-BINDING DESCRIPTION 🧚

the C-binding argument descriptions are the same as the FORTRAN argument descriptions. so like, scroll back up, it's all there, no need to make me repeat myself πŸ’–


⭐ USAGE ⭐

this routine lets you set the current value of Autograph parameters. for a complete list of the parameters available in this utility, go read the autograph_params man page. iykyk. πŸ“–βœ¨


πŸ”₯ EXAMPLES πŸ”₯

use the ncargex command to see the following relevant examples:

  • agex05
  • agex07
  • agex08
  • agex10
  • agex13
  • fagaxmax
  • fagcudsh
  • fagovrvw

go look at them. they ate. πŸ‘‘


πŸ“ ACCESS πŸ“

to use AGSETF or c_agsetf, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order. order matters, don't be chaotic about it πŸ™ˆ

to get smoother curves, drawn using spline interpolation, also load libdashsmth.o. 🌊

OR, alternatively, you can use the ncargf77 command to compile your program and load the above libraries, and then, to get smoother curves, use the -dashsmth option. two paths, both valid, choose your adventure 🌈


πŸ’€ SEE ALSO πŸ’€

Online: autograph, autograph_params, agback, agbnch, agchax, agchcu, agchil, agchnl, agcurv, agdshn, aggetc, aggetr, aggeti, aggetp, aggetr, agpwrt, agrstr, agsave, agsetc, agsetf, agseti, agsetp, agstup, agutol, anotat, displa, ezmxy, ezmy, ezxy, ezy

(yes, aggetr is in there twice. i'm not touching it. that's what the page says and i respect the source material 🫑)


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!! πŸ’–βœ¨πŸŽ€ this was AGSETF(3NCARG) from the NCAR GRAPHICS manual, and this particular vibe dropped in March 1993 (UNIX era, vintage, lowkey a classic). stay slaying, load your libraries in order, and go set some real-number parameters. periodt. πŸ’…πŸ¦‹πŸŒΈ