AGCHAX(3NCARG)

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

✨ AGCHAX ✨

okay bestie, welcome to AGCHAX, a routine from the NCAR Graphics universe (that's the 3NCARG manual section, iykyk). this one is a customization hook β€” it's literally your backstage pass to change the color, intensity, line style, etc., of all the little bits and pieces that make up your axes. πŸ’…


🌸 SYNOPSIS 🌸

SUBROUTINE AGCHAX (IFLG,IAXS,IPRT,VILS)

that's the whole signature, bestie. four arguments. she's compact. she's iconic. πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

here's the tea on every single argument, no cap:

  • IFLG β€” an input expression of type INTEGER. she's zero if a particular object is about to be drawn, and non-zero if it has just been drawn. so basically: zero = pregame, non-zero = afterparty. ✨
  • IAXS β€” an input expression of type INTEGER, and it's the number of the axis being drawn. the values 1, 2, 3, and 4 mean left, right, bottom, and top axes, respectively. so like, four axes, four vibes, one number. 🧚
  • IPRT β€” an input expression of type INTEGER that tells you which part of the axis is being drawn. the possible values are:
    • 1 implies the line of the axis.
    • 2 implies a major tick.
    • 3 implies a minor tick.
    • 4 implies the mantissa of a numeric label.
    • 5 implies the exponent of a numeric label.
  • VILS β€” an input expression of type REAL, and she's the value in the label system at the exact point where the part is being drawn. πŸŽ€ special case alert: for IPRT = 1, VILS is zero.

πŸ’– USAGE πŸ’–

okay so listen. this is the important part. you do not call this routine from your user program β€” Autograph itself calls it, right before and right after each of the objects making up an axis gets drawn. she's not yours to summon, she just shows up. πŸ™ˆ

the default version does nothing. literally nothing. a beautiful little no-op. 😌

but bestie β€” you may supply your own version to change the color, intensity, line style, etc. of selected portions of the axis. that's the whole point. that's the moment. that's your main character era. πŸ‘‘

⚠️ note, and this one matters: a user version of AGCHAX should not call any other Autograph routine. do not do it. not even once. not even a little. 🚫

🌈 ACCESS 🌈

to use AGCHAX, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β€” preferably in that order. order matters, bestie, don't fight it. 🫢


⭐ SEE ALSO ⭐

  • Online: autograph, agback, agbnch, agchcu, agchil, agchnl, agcurv, agdshn, aggetc, aggetf, aggeti, aggetp, aggetr, agpwrt, agrstr, agsave, agsetc, agsetf, agseti, agsetp, agsetr, agstup, agutol, anotat, displa, ezmxy, ezmy, ezxy, ezy
  • Hardcopy: NCAR Graphics Fundamentals, UNIX Version

like, go read the whole friend group. they're all connected. πŸ’œ


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 one's from the UNIX flavor of the manual, dated March 1993, filed under AGCHAX(3NCARG). go forth and customize those axes. slay. βœ¨πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from