MAPPOS(3NCARG)

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

✨ MAPPOS ✨ β€” it's giving "NCAR GRAPHICS" πŸ’–

okay bestie, welcome to MAPPOS, a whole entire subroutine from the NCAR Graphics cinematic universe (that's the 3NCARG manual, iykyk). it does exactly one thing and it does it gorgeously: it positions the map on the plotter frame. that's it. that's the gig. and honestly? she ate. πŸ’…


🌸 NAME 🌸

MAPPOS β€” positions the map on the plotter frame. yes literally that's the whole job description, no notes. πŸ—ΊοΈβœ¨


πŸ¦‹ SYNOPSIS πŸ¦‹

CALL MAPPOS (XLOW,XROW,YBOW,YTOW)

four args, all REAL, all vibes. πŸŽ€


πŸ’œ C-BINDING SYNOPSIS πŸ’œ

for my C girls and theydies:

#include <ncarg/ncargC.h>

void c_mappos (float xlow, float xrow, float ybow,
float ytow)

look at her, lowercase and everything. iconic. 🌈


πŸ‘‘ DESCRIPTION πŸ‘‘

okay so here's the tea on each argument, bestie. all four are input expressions of type REAL β€” they're telling MAPPOS where the edges of your window live on the frame. think of them as the four corners of your little map rectangle, no cap. πŸ“

  • XLOW β€” this one sets the position of the left edge of the window. the default is .05. πŸ’–
  • XROW β€” this one sets the position of the right edge of the window. the default is .95. πŸ’–
  • YBOW β€” this one sets the position of the bottom edge of the window. the default is .05. πŸ’–
  • YTOW β€” this one sets the position of the top edge of the window. the default is .95. πŸ’–

so by default your map is chilling in the middle-ish of the frame with a lil .05 margin all around. she's centered, she's balanced, she's serving main character energy. 🌟


🧚 C-BINDING DESCRIPTION 🧚

the C-binding argument descriptions are the exact same as the FORTRAN argument descriptions. same girls, different outfit. periodt. πŸ’…


πŸŽ€ USAGE πŸŽ€

so this routine lets you set the current values of the four EZMAP parameters 'XL', 'XR', 'YB', and 'YT'. and if you want the full guest list of parameters available in this utility, go read the ezmap_params man page, she has all the receipts. πŸ“œ

ngl, if you're wondering "wait, which parameter is which" β€” XL ↔ left, XR ↔ right, YB ↔ bottom, YT ↔ top. it's giving intuitive. πŸ”₯

🌈 EXAMPLES 🌈

use the ncargex command to see the following relevant examples, bestie. these are all fr fr in there:

caredg, ccpcica, ccpmovi, ccppole, ccpvp, cmppos, cmptit, cpex03, cpex08, mpex04, mpex05, mpex06, mpex07, epltch, fgkgpl, fpchiqu

(not me listing all sixteen of them. obsessed with thoroughness honestly. 😭✨)


πŸ”₯ ACCESS πŸ”₯

to use MAPPOS or c_mappos, you gotta load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β€” preferably in that order. don't be chaotic about the order, bestie, she has a preferred sequence. πŸ’–


πŸ’€ MESSAGES πŸ’€

see the ezmap man page for a description of all EZMAP error messages and/or informational messages. if something goes sideways, that's where the drama lives. πŸ™ˆ


πŸ“ SEE ALSO πŸ“

Online: ezmap, ezmap_params, mapaci, mapbla, mapblm, mapdrw, mapeod, mapfst, mapgci, mapgrd, mapgrm, mapgtc, mapgti, mapgtl, mapgtr, mapint, mapiq, mapiqa, mapiqd, mapiqm, mapit, mapita, mapitd, mapitm, maplbl, maplmb, maplot, 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 β€” yes, a real paper-ish thing, go touch some documentation. πŸ“š


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 MAPPOS-pilled. go position a map, you absolute icon. πŸ‘‘πŸ¦‹πŸ’…

this lil slice of the NCAR Graphics manual came from the UNIX manual pages, dated March 1993 β€” yes she's an elder but she still slays, and she's filed under MAPPOS(3NCARG). mwah. πŸ’‹

πŸ“¦ where this page comes from