AGSAVE(3NCARG)

πŸ“¦ version 6.6.2, in epel 9, fedora 43, fedora 44

πŸ’Ύ AGSAVE β€” bestie, save your Autograph state rn

okay so this is a page from the NCAR Graphics manual, section 3NCARG, and it's all about AGSAVE. Girl, this routine is the "save your game before the boss fight" of Autograph β€” it snapshots the current state so AGRSTR can bring it back later. Obsessed. πŸ’–


✨ NAME ✨

AGSAVE β€” Saves the current state of Autograph for later restoration by AGRSTR.

(not me being the backup bestie of the Autograph world, fr fr 🫢)


🌸 SYNOPSIS 🌸

CALL AGSAVE (IFNO)

πŸ¦‹ C-BINDING SYNOPSIS πŸ¦‹

#include <ncarg/ncargC.h>

void c_agsave (int ifno)

πŸ’… DESCRIPTION πŸ’…

  • IFNO β€” an input expression of type INTEGER, and it's the number of a unit that a single unformatted record gets written to. And listen: it is the user's responsibility to position this unit. AGSAVE does not rewind it β€” not before writing the record, not after. So don't come for me when your file pointer is somewhere weird, because that's on you, bestie. 😭

🌈 C-BINDING DESCRIPTION 🌈

The C-binding argument description is literally the same as the FORTRAN argument description. Same energy, different syntax. periodt. ✨


πŸŽ€ USAGE πŸŽ€

This routine saves internal parameter values to a file. That's the whole vibe. πŸ“

For a complete list of parameters available in this utility, go read the autograph_params man page β€” it's giving full inventory, iykyk. πŸ‘‘


πŸ”₯ ACCESS πŸ”₯

To use AGSAVE or c_agsave, you gotta load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β€” preferably in that order, no cap, the order matters. 🫢

Want smoother curves, drawn using spline interpolation? Then also load libdashsmth.o. ✨

OR β€” plot twist β€” you can just use the ncargf77 command to compile your program and load all the libraries above. And then, for those smoother curves, hit it with the -dashsmth option. Two paths, same slay. πŸ’…


πŸ“¬ MESSAGES πŸ“¬

See the autograph man page for a description of all Autograph error messages and/or informational messages. All the receipts live there. 🧾


πŸ‘€ SEE ALSO πŸ‘€

Online: autograph, autograph_params, agback, agbnch, agchax, agchcu, agchil, agchnl, agcurv, agdshn, aggetc, aggetf, aggeti, aggetp, aggetr, agpwrt, agrstr, agsetc, agsetf, agseti, 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.


πŸ’€ reminder bestie: AGSAVE does NOT rewind your unit. Position it yourself or perish (dramatically). This is not a drill.

okay that's the whole page, and just so you know where it came from: this is from the UNIX flavor of the manual, dated March 1993, and it lives at AGSAVE(3NCARG) in the NCAR GRAPHICS set. bye bestie, go save your state πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from