AGCHAX(3NCARG)
β¨ 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 typeINTEGER. 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 typeINTEGER, 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 typeINTEGERthat 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 typeREAL, and she's the value in the label system at the exact point where the part is being drawn. π special case alert: forIPRT = 1,VILSis 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 π
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
- epel 9: ncl-devel 6.6.2-59.el9 Β· LicenseRef-Callaway-BSD
- fedora 43: ncl-devel 6.6.2-58.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: ncl-devel 6.6.2-62.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms