GQMNTN(3NCARG)
π GQMNTN β bestie, let's count your normalization transformations π
okay so real talk, this is a page from the NCAR GRAPHICS manual, section 3NCARG, and honestly? it's a tiny little baddie with one job. Let's get into it. π«Ά
β¨ NAME β¨
GQMNTN (short for Inquire maximum normalization transformation number) β it retrieves the maximum number of supported normalization transformations. that's it, that's the whole gig. she's a one-trick pony and she ate. π
β¨ SYNOPSIS β¨
the Fortran girlies call it like this:
CALL GQMNTN (ERRIND, MAXTRN)
β¨ C-BINDING SYNOPSIS β¨
and for the C girlies, you gotta bring in the header first:
#include <ncarg/gks.h>
void ginq_max_norm_tran_num(Gint *err_ind, Gint *max_norm_tran_num);
no cap, that's the whole thing. πΈ
β¨ DESCRIPTION β¨
so there's two outputs, and they're both Integer, and they're both Output (meaning you don't hand anything in, you just receive the tea). let's break them down one by one:
ERRIND(Integer, Output) β if the inquired value cannot be returned correctly, a non-zero error indicator is returned inERRIND; otherwise a zero is returned. like, zero means we're chilling, non-zero means something went sideways. for the full deets on what the error indicators actually mean, go consult "User's Guide for NCAR GKS-0A Graphics". she's the source of truth, not me. πMAXTRN(Integer, Output) β gives the maximum number of normalization transformations available in the GKS package. and in NCAR GKS-0A specifically?MAXTRN = 2. two. that's the number. iconic behaviour honestly, knowing your own limits. π
β¨ ACCESS β¨
to use GKS routines, load the NCAR GKS-0A library ncarg_gks. that's the vibe check you gotta pass before any of this works. π₯
β¨ SEE ALSO β¨
Online:
gselntgqcntngqntgetsetginq_max_norm_tran_num
Hardcopy: "User's Guide for NCAR GKS-0A Graphics"
β¨ 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 bestie, you're officially fluent in GQMNTN π¦π and just so you know where this all came from: this was the UNIX manual, March 1993, page GQMNTN(3NCARG). vintage but still serving. periodt. πβ¨π
π¦ where this page comes from
- debian bookworm: libncarg-dev 6.6.2.dfsg.1-1
- debian trixie: libncarg-dev 6.6.2.dfsg.1-10+b2
- ubuntu jammy: libncarg-dev 6.6.2-10build2
- ubuntu questing: libncarg-dev 6.6.2.dfsg.1-10build2
- ubuntu resolute: libncarg-dev 6.6.2.dfsg.1-12
- ubuntu stonking: libncarg-dev 6.6.2.dfsg.1-12build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms