GQCNTN(3NCARG)

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

πŸ’– 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 into ERRIND. 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 to GSELNT. 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 (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