MAPGTC(3NCARG)

πŸ’– MAPGTC β€” bestie edition πŸ’–

okay so this is a page from NCAR GRAPHICS, living in section 3NCARG of the manual. It's all about grabbing the current value of an EZMAP parameter that happens to be a CHARACTER string. ✨

Also, real quick, before we even start: MPGETC is literally just an alternate name for the routine MAPGTC. Same girl, two names, no cap. πŸ‘‘


🌸 NAME 🌸

MAPGTC β€” gets the current value of a specified EZMAP parameter of type CHARACTER.

and yeah, MPGETC is an alternate name for the routine MAPGTC. 🫢


✨ SYNOPSIS ✨

CALL MAPGTC (PNAM,CVAL)

πŸ¦‹ C-BINDING SYNOPSIS πŸ¦‹

#include <ncarg/ncargC.h>

void c_mapgtc (char *pnam, char *cval, int len)

πŸ’… DESCRIPTION πŸ’…

  • PNAM β€” an input expression of type CHARACTER, and it's the name of the parameter you wanna get. Heads up though: only the first two characters of the string get examined. The rest? Ignored, bestie, they don't even get a vibe check. πŸ™ˆ
  • CVAL β€” an output variable of type CHARACTER, and it receives the value of the parameter that PNAM pointed at. That's the whole point of the function, and it ate. πŸ’–

πŸŽ€ C-BINDING DESCRIPTION πŸŽ€

The C-binding argument descriptions are the same as the FORTRAN argument descriptions, with one exception:

  • len β€” the size of cval as dimensioned in the calling program.

🌈 USAGE 🌈

This routine lets you retrieve the current value of EZMAP parameters. For a complete list of parameters available in this utility, go look at the ezmap_params man page. iykyk. πŸ“–


⭐ EXAMPLES ⭐

Use the ncargex command to see the following relevant example: mpex07.

That's it, that's the example. Go run it. πŸ”₯


🧚 ACCESS 🧚

To use MAPGTC, MPGETC, or c_mapgtc, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β€” preferably in that order. Don't be chaotic about the order, we're being organized today. πŸ’œ


πŸ’€ MESSAGES πŸ’€

See the ezmap man page for a description of all EZMAP error messages and/or informational messages.

not me sending you to another man page but like... that's where the messages live, I don't make the rules 😭

🌸 SEE ALSO 🌸

Online: ezmap, ezmap_params, mapaci, mapbla, mapblm, mapdrw, mapeod, mapfst, mapgci, mapgrd, mapgrm, mapgti, mapgtl, mapgtr, mapint, mapiq, mapiqa, mapiqd, mapiqm, mapit, mapita, mapitd, mapitm, maplbl, maplmb, maplot, mappos, maproj, maprs, maprst, mapsav, mapset, mapstc, mapsti, mapstl, mapstr, maptra, maptri, maptrn, mapusr, mapvec, mpchln, mpfnme, mpgetc, mpgeti, mpgetl, mpgetr, mpglty, mpiaty, mpifnb, mpilnb, mpiola, mpiosa, mpipai, mpipan, mpipar, mpisci, mplnam, mplndm, mplndr, mplnri, mpname, mprset, mpsetc, mpseti, mpsetl, mpsetr, supmap, supcon, ncarg_cbind

Hardcopy: NCAR Graphics Contouring and Mapping Tutorial

(that list is a whole friend group, honestly. iconic.) πŸ‘‘


Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.


okay bestie that's the whole page, you understood all of it, slay πŸ’…βœ¨

MAPGTC(3NCARG) β€” from NCAR GRAPHICS, and this one's dated March 1993, living in the UNIX manual. mwah, go forth and get those CHARACTER parameters πŸŽ€πŸ¦‹πŸ’œ