TICK43(3NCARG)

โœจ TICK43 โœจ

okay bestie, so this is a page from the NCAR GRAPHICS manual set (the 3NCARG girlies know ๐Ÿ’…), and today we're talking about TICK43 โ€” a Threed routine that lets you control tick mark length in PERIM3. periodt.

๐Ÿ’€ not me about to deliver some ancient lore: At one time, the Threed routine TICK3 was used to set tick-mark length. TICK3 has been superseded by TICK43 and is therefore considered obsolete. If you call TICK3, it will call TICK43 for you. So like, it's giving "I'll do it for you, but I'm not happy about it" ๐Ÿ™ˆ

The statement

CALL TICK3 (MAJOR,MINOR)

should be replaced by the equivalent statement

CALL TICK43 (MAJOR,MINOR,MAJOR,MINOR,MAJOR,MINOR)

like... it's the same thing but with more commitment, and honestly? we love a glow-up. โœจ


๐ŸŒธ SYNOPSIS ๐ŸŒธ

CALL TICK43 (MAJORU,MINORU,MAJORV,MINORV,MAJORW,MINORW)

๐Ÿซถ C-BINDING SYNOPSIS ๐Ÿซถ

#include <ncarg/ncargC.h>

void c_tick43 (int majoru, int minoru, int majorv, int minorv,
int majorw, int minorw)

๐ŸŽ€ DESCRIPTION ๐ŸŽ€

okay so here are the six little arguments, and every single one of them matters, no skips:

  • MAJORU โ€” an input expression of type INTEGER that specifies the length of major ticks to be used on perimeter sides that are parallel to the U axis. main character tick, obviously ๐Ÿ‘‘
  • MINORU โ€” an input expression of type INTEGER that specifies the length of minor ticks to be used on perimeter sides that are parallel to the U axis. the little sidekick ๐Ÿฆ‹
  • MAJORV, MINORV โ€” input expressions of type INTEGER that specify the lengths of major and minor ticks for perimeter sides parallel to the V axis. same vibe, different axis, we stan consistency ๐Ÿ’œ
  • MAJORW, MINORW โ€” input expressions of type INTEGER that specify the lengths of major and minor ticks for perimeter sides parallel to the W axis. third axis, third serve, iconic ๐ŸŒˆ

now the deets on the numbers themselves, because this is the part you actually need:

All tick lengths are specified as integers between 0 and 1024. The value n produces a tick that is n/1024ths as long as the longest side of the box defined by the arguments UMIN, UMAX, VMIN, VMAX, WMIN, and WMAX in the last call to SET3. ๐Ÿงš

The default values are 12 for a major tick and 8 for a minor tick.

๐Ÿ“ lowkey important: it's relative to that last SET3 call, so if your box changed, your ticks changed. iykyk.

๐Ÿ’– C-BINDING DESCRIPTION ๐Ÿ’–

The C-binding argument descriptions are the same as the FORTRAN argument descriptions. literally the same girl, different font. ๐Ÿ’…


โญ ACCESS โญ

To use TICK43 or c_tick43, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order. yes bestie, in that order โ€” trust the process ๐Ÿ™


๐Ÿ”ฅ SEE ALSO ๐Ÿ”ฅ

Online: threed, curve3, fence3, frst3, line3, perim3, point3, psym3, pwrz, pwrzt, set3, threed, tick3, vect3, ncarg_cbind.

(and yes, threed is in there twice. we don't gatekeep, we just list it twice. it's giving "listed it, loved it, listed it again." ๐Ÿ’€)


Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.


๐ŸŽ€ cute little sign-off: this whole thing comes to you from the TICK43(3NCARG) page in the NCAR GRAPHICS manual, dated March 1993, on UNIX. old money, honestly. ๐Ÿ’œ now go set those tick lengths, bestie โ€” you got this, fr fr. โœจ๐Ÿฆ‹