ANOTAT(3NCARG)
π ANOTAT β the NCAR Graphics glow-up page (3NCARG) π
okay bestie, so this is ANOTAT, from the NCAR Graphics crew. What it does? It changes the values of certain primary control parameters, purportedly having to do with "annotation" of a graph. yes the original really says "purportedly". iconic. we love a self-aware manpage. π
β¨ SYNOPSIS β¨
ANOTAT (XLAB,YLAB,LBAC,LSET,NDSH,DSHC)
π C-BINDING SYNOPSIS π
#include <ncarg/ncargC.h>
void c_anotat(char *xlab, char *ylab, int lbac, int lset, \
int ndsh, char *dshc[])
π¦ DESCRIPTION π¦
let's go through the args one by one, no skips, we're thorough here π
XLABβ an input expression of type CHARACTER, and it defines a new "x-axis label". (careful babes: if the first character of this expression is"CHAR(0)", then no new "x-axis label" gets defined and the current one just keeps on keeping on.) A character string defining a new X-axis label must either be of the exact length specified by the current value of'LINE/MAXIMUM.'(default: 40 characters), or shorter; if shorter, it must be terminated by the character defined by the current value of'LINE/END.'(default: a'$'). The string becomes the new text of line number-100of the label'B'.YLABβ an input expression of type CHARACTER, defining a new "y-axis label". (same deal as above: if the first character is"CHAR(0)", no new "y-axis label" is defined and the current one stays.) A character string defining a new Y-axis label must either be of the exact length specified by the current value of'LINE/MAXIMUM.'(default: 40 characters), or shorter; if shorter, it must be terminated by the character defined by the current value of'LINE/END.'(default: a'$'). The string becomes the new text of line number100of the label'L'.LBACβ an input expression of type INTEGER. If it's non-zero, it must have the integer value1,2,3, or4, and the real equivalent of that becomes the new value of'BACKGROUND.'. (IfLBACis zero, nothing changes, the current value just vibes.) So: value1= a perimeter background, value2= a grid background, value3= a half-axis background, and value4= no background at all. π
go read the discussion of'BACKGROUND.'in theautograph_paramsman page, iykyk.
LSETβ an input expression of type INTEGER. If it's non-zero, it must have the absolute value1,2,3, or4, and the real equivalent of that gets stored (by means of a call toAGSETI) as the new value of'SET.'. IfLSETis zero, no change is made to the current value of'SET.'.
again, the discussion of'SET.'lives in theautograph_paramsman page. go look. π«Ά
NDSHβ an input expression of type INTEGER. If it's zero, that means no change is to be made in the parameters which specify the dashed-line patterns to be used for curves.- If
NDSHis non-zero, it specifies an integer value whose real equivalent is to be stored as the new value of'DASH/ SELECTOR.'(which has the default value"1."). - If
NDSHis negative,'DASH/SELECTOR.'is set negative, forcingEZMYandEZMXYto use internally-defined "alphabetic" patterns for the MANY curves drawn ("A"for the first,"B"for the second, . . .,"Z"for the 26th,"A"for the 27th, etc.). The routinesEZYandEZXYare unaffected. π« - If
NDSHis greater than zero, it must be less than or equal to 26, and the next argument,DSHC, must containNDSHdashed-line patterns comprising the new "user" set of patterns. The fact that'DASH/SELECTOR.'is set positive forcesEZMYandEZMXYto use this set of patterns. (The routinesEZYandEZXYalways use the first pattern in this set.) The contents of the arrayDSHCare copied to storage local to Autograph and pointers to them are installed as the values of'DASH/PATTERNS/1.','.../2.', etc.
- If
and yes, see the discussion of'DASH.'in theautograph_paramsman page. it's a whole thing. π
DSHCβ an input array of type CHARACTER, dimensionedNDSH. It's meaningful only whenNDSHis greater than zero. In this case, it must be an array ofNDSHcharacter strings, each of the length specified by the current value of'DASH/ LENGTH.'. Each character string represents a dashed-line pattern; dollar signs mean "pen down", quotes mean "pen up", and other characters mean "draw me". βοΈβ¨
you already know what I'm gonna say. discussion of'DASH.',autograph_paramsman page. go bestie.
πΈ C-BINDING DESCRIPTION πΈ
The C-binding argument descriptions are the same as the FORTRAN argument descriptions. same energy, different syntax, we love consistency. π
β USAGE β
This routine sets internal parameter values. For a complete list of parameters available in this utility, see the autograph_params man page.
π EXAMPLES π
Use the ncargex command to see the following relevant examples: agex08, agex10, agex13, bnchmk, sprevx.
π ACCESS π
To use ANOTAT or c_anotat, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order. yes the order matters, don't be chaotic. π
π₯ 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, agsetr, agstup, agutol, displa, ezmxy, ezmy, ezxy, ezy
π«Ά COPYRIGHT π«Ά
Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.
that's the whole page bestie, you ate that π
β¨ this was the UNIX version, dated March 1993, straight from the NCAR Graphics archives β stay iconic, go annotate a graph, mwah ππ¦
π¦ 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