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 type CHARACTER, and it's your parameter identifier, exactly like the ones described over in the AGSETP man 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 type REAL, and this is the value you're handing over to the parameter named by TPGN. πŸ’«

🧚 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 (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 πŸ’…βœ¨πŸ¦‹