TICK4(3NCARG)
β¨ 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 π
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
- 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