TICK4(3NCARG)

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

✨ TICK4 ✨

okay bestie, listen up πŸ’– this one lives in the NCAR Graphics crew, it's called TICK4, and it's literally the glow-up button for your tick marks β€” it lets your program take the wheel and control both the length and the direction of them. no more letting the plotter decide your aesthetic. periodt. πŸ‘‘


🌸 SYNOPSIS 🌸

CALL TICK4 (LMJX, LMNX, LMJY, LMNY)

πŸ¦‹ C-BINDING SYNOPSIS πŸ¦‹

#include <ncarg/ncargC.h>

void c_tick4 (int lmjx, int lmnx, int lmjy, int lmny)

πŸ’… DESCRIPTION πŸ’…

so here's the tea πŸ«– β€” every single argument is measured in plotter address units (PAUs, iconic abbreviation, iykyk). and by default, one PAU is 1/1023rd of the width of the plotter frame. that's the standard, no cap.

⚠️ heads up bestie: a call to the SPPS routine SETI will change the definition of a PAU. those calls are no longer recommended, but the possibility still exists. so like… it's there, it's just not the move. πŸ™ˆ

LMJX and LMNX β€” (input expressions of type INTEGER) these are the lengths, in plotter address units, of the major and minor ticks on the X axis. the default values are 12 and 8. cute, right? πŸ’–

LMJY and LMNY β€” (input expressions of type INTEGER) same energy, but for the Y axis: the lengths, in plotter address units, of the major and minor ticks. default values are also 12 and 8. πŸŽ€

and now the plot twist 🌈 β€” by default, tick marks point inward. but if you want them pointing outward, you just throw a negative value at LMJX, LMNX, LMJY, and LMNY. negative = outward. that's the whole trick, bestie. ✨


🧚 C-BINDING DESCRIPTION 🧚

the C-binding argument descriptions are the same as the FORTRAN argument descriptions. same vibe, different syntax. πŸ’œ


⭐ USAGE ⭐

this routine lets you set the current value of Gridall parameters. and if you want the full menu of everything available in this utility, go read the gridall_params man page. it's giving encyclopedia, but make it useful. πŸ“š


πŸ”₯ EXAMPLES πŸ”₯

use the ncargex command to see the following relevant example: tgrida.

that's it. that's the example. go look at it. πŸ‘€


πŸ‘‘ ACCESS πŸ‘‘

to use TICK4 or c_tick4, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β€” preferably in that order. yes, order matters, don't be chaotic about it. πŸ’…


🌈 SEE ALSO 🌈

Online: gridall, gridall_params, gacolr, gagetc, gageti, gagetr, gasetc, gaseti, gasetr, grid, gridal, gridl, halfax, labmod, perim, periml, ticks, ncarg_cbind.

Hardcopy: NCAR Graphics Fundamentals, UNIX Version


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


okay that's the whole page, you ate it, go make some gorgeous ticks πŸŽ€ and as a lil sign-off: this one's from NCAR Graphics, dated March 1993, on UNIX β€” vintage but still serving. bye bestie, ily, slay πŸ¦‹πŸ’œβœ¨

πŸ“¦ where this page comes from