TDGRID(3NCARG)
β¨ TDGRID β it's giving grid lines, bestie β¨
okay so this is a page from the NCAR GRAPHICS manual, and the routine is TDGRID. π
π NAME π
TDGRID β draws a perimeter around the edges of the reference parallelogram that was defined by the last call to TDPARA, and you can optionally get ticks or grid lines too. π¦
Real talk: this routine is normally called indirectly (basically, TDGRDS calls it for you), but there is literally no reason why you couldn't call it directly. She's independent, she's self-sufficient. π
πΈ SYNOPSIS πΈ
CALL TDGRID (XBEG, XSTP, NOXS, YBEG, YSTP, NOYS, IGRD)
π C-BINDING SYNOPSIS π
#include <ncarg/ncargC.h>
void c_tdgrid(float xbeg, float xstp, int noxs, float ybeg, float ystp,
int noys, int igrd)
β¨ DESCRIPTION β¨
The arguments of TDGRID are giving very much "here's what you're passing in, bestie": π
XBEG,XSTP, andNOXSβ these are input expressions of types REAL, REAL, and INTEGER, respectively. They define where the ticks or grid lines get drawn along the "X" axis of the parallelogram β specifically atXBEG,XBEG+XSTP,XBEG+2*XSTP, ...XBEG+NOXS*XSTP. π§YBEG,YSTP, andNOYSβ again, input expressions of types REAL, REAL, and INTEGER. These define where ticks or grid lines get drawn along the "Y" axis of the parallelogram β atYBEG,YBEG+YSTP,YBEG+2*YSTP, ...YBEG+NOYS*YSTP. πIGRDβ an input expression of type INTEGER, and she decides what actually gets drawn. She takes one of these three values:1β draw just a perimeter. minimal. clean. π2β draw a perimeter with inward-pointing ticks. π₯3β draw a perimeter with a grid. slay. π
π«Ά C-BINDING DESCRIPTION π«Ά
The C-binding argument descriptions are the same as the FORTRAN argument descriptions. no cap, they did not change a single thing. π
β ACCESS β
To use TDGRID or c_tdgrid, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β preferably in that order. fr fr, order matters here. π
π¦ SEE ALSO π¦
Online: tdclrs, tdctri, tddtri, tdgeti, tdgetr, tdgrds, tdgtrs, tdinit, tditri, tdlbla, tdlbls, tdline, tdlnpa, tdmtri, tdotri, tdpack, tdpack_params, tdpara, tdplch, tdprpa, tdprpi, tdprpt, tdseti, tdsetr, tdsort, tdstri, tdstrs. the whole friend group, honestly. πΈ
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.
β οΈ heads up bestie: that license agreement line is not a vibe, it's a rule. respect it. π
okay and one last thing β this whole page is a UNIX manual page, dated July 1997, and it lives at TDGRID(3NCARG). so if you ever need to cite her, that's the glow-up receipt. π
β¨ bye ily, go draw a parallelogram π«Άπ
π¦ 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