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 in ERRIND; 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:

  • gselnt
  • gqcntn
  • gqnt
  • getset
  • ginq_max_norm_tran_num

Hardcopy: "User's Guide for NCAR GKS-0A Graphics"


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. πŸ’–βœ¨πŸŽ€