GQCNTN(3NCARG)
π GQCNTN β bestie, let's find out what normalization transformation we're in π
okay so this is a page from the NCAR GRAPHICS manual (the 3NCARG corner of the world), and it's all about a lil Fortran subroutine called GQCNTN, which stands for Inquire current normalization transformation number. Yeah, the name is a mouthful, but the job is cute and simple: it hands you back the number of the normalization transformation that's currently active. that's it. that's the whole vibe. π
β¨ NAME β¨
GQCNTN β Inquire current normalization transformation number β retrieves the number of the current normalization transformation. π¦
lowkey the most self-explanatory name in the whole GKS situation, and honestly? we respect it.
πΈ SYNOPSIS πΈ
CALL GQCNTN (ERRIND, CTNR)
two arguments, no drama. slay. π
π«Ά C-BINDING SYNOPSIS π«Ά
for the C girlies (and everyone else who lives in C), there's a binding, and it goes a lil something like this:
#include <ncarg/gks.h>
void ginq_cur_norm_tran_num(Gint *err_ind, Gint *norm_tran_num);
yes bestie, you still have to include the header. it's giving "we love a consistent API." β¨
π DESCRIPTION π
here's the tea on the two things you're passing in, both of them Output values, both of them Integer:
ERRINDβ (Integer, Output) β if the value you asked for can't be returned correctly, you get a non-zero error indicator dropped intoERRIND. if everything's chill, you get a zero. and if you want to know what any of those non-zero numbers actually mean, you gotta go consult the "User's Guide for NCAR GKS-0A Graphics" β the manpage is not gonna spell it out for you, sorry babe. πCTNRβ (Integer, Output) β this one returns the current normalization transformation number, either as it was set by default or as it was set by a call toGSELNT. so basically it's echoing back whichever transformation is main-character-ing right now. π
π₯ ACCESS π
to actually use these GKS routines, you need to load the NCAR GKS-0A library, which is called ncarg_gks. load it or you simply will not be having a good time. periodt. π
π SEE ALSO π
Online: gselnt, gqmntn, gqnt, getset, ginq_cur_norm_tran_num
Hardcopy: User's Guide for NCAR GKS-0A Graphics; NCAR Graphics Fundamentals, UNIX Version
iykyk β go read the docs, bestie, they're right there. π
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.
okay and that's the whole page!! π this came out of the UNIX manual, dated March 1993, filed under GQCNTN(3NCARG) β go forth and inquire about your normalization transformation numbers, you absolute icon. πβ¨π¦
π¦ 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