MAPPOS(3NCARG)
β¨ 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 π
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
- 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