AGCHNL(3NCARG)
β¨ AGCHNL β the NCAR Graphics glow-up page β¨
okay bestie, welcome to the NCAR Graphics corner of the manual, where we're talking about AGCHNL. π
πΈ NAME πΈ
AGCHNL β it's literally your backstage pass: it lets you swap out the numeric labels Autograph generates for any character string your heart desires. Months, Roman numerals, your cat's name, whatever. No cap.
π SYNOPSIS π
SUBROUTINE AGCHNL (IAXS,VILS,CHRM,MCIM,NCIM,IPXM,
+ CHRE,MCIE,NCIE)
π¦ DESCRIPTION π¦
okay so here's the whole cast of characters, and every single one of them matters, so pay attention π«Ά
IAXSβ (an input expression of typeINTEGER) this is the number of the axis being drawn. And the mapping is iconic in its simplicity:1,2,3, and4mean the left, right, bottom, and top axes respectively. Periodt.VILSβ (an input expression of typeREAL) the value that's gonna be represented by the numeric label, expressed in the label system for the axis. π¨ You must NOT alter the value ofVILS. Hands off, bestie. π¨CHRMβ (an input variable of typeCHARACTER) on entry, this holds the mantissa of the numeric label, exactly as it would look ifAGCHNLmade zero changes. And here's the little detail that trips people up: if the numeric label includes a"times"symbol, that symbol is represented by a blank inCHRM. (peepIPXMbelow for the deets π)CHRMmay be modified. Go off. πMCIMβ (an input expression of typeINTEGER) the length ofCHRMβ as in, the maximum number of characters it can hold. π¨ The value ofMCIMmust not be altered. Do not touch. Fr fr. π¨NCIMβ (an input variable of typeINTEGER) on entry, this is the number of meaningful characters inCHRM. And listen β if you changeCHRM, you should changeNCIMaccordingly. Keep it consistent, bestie, it's giving attention to detail. β¨IPXMβ (an input variable of typeINTEGER) on entry, this is zero if there's no"times"symbol inCHRM. If it's non-zero, then it's the index of a character position inCHRMβ that's where the"times"symbol lives. And ifAGCHNLchanges the position of the"times"symbol inCHRM, removes it, or adds it? Then the value ofIPXMmust be changed. You gotta keep that index honest. πCHREβ (an input variable of typeCHARACTER) on entry, this holds the exponent of the numeric label, as it would appear ifAGCHNLmade no changes.CHREmay be modified. Slay. πMCIEβ (an input expression of typeINTEGER) the length ofCHREβ the maximum number of characters it can hold. π¨ The value ofMCIEmust not be altered. Nope nope nope. π¨NCIEβ (an input variable of typeINTEGER) on entry, the number of meaningful characters inCHRE. Same rule as its mantissa sibling: ifCHREis changed,NCIEshould be changed accordingly. π
π USAGE π
okay this is the part where I hold your hand, bestie, because it's lowkey important:
This routine is not called by the user program. Nope β it's called by Autograph itself, right after the character string representing each numeric label has been generated, and just before it gets written onto the graph. πβ¨
So you're not the one dialing the phone β Autograph is, and you're the one answering. π«Ά You get to change the character string in any desired way. And the payoff? Axes can be labeled using the names of the months, Roman numerals, etc. Main character energy for your graph. π
β οΈ Note: a user version of AGCHNL should not call any other Autograph routine. Just don't. It's a boundary thing. π
π§ ACCESS π§
To use AGCHNL, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β preferably in that order. Order matters, iykyk. π₯
π SEE ALSO π
Online: autograph, agback, agbnch, agchax, agchcu, agchil, 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
π 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 comes to you from the UNIX manual, dated March 1993, filed under AGCHNL(3NCARG) β and yes, we ate. π β¨π¦
π¦ 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