MAPVEC(3NCARG)
β¨ MAPVEC β¨ (a.k.a. MAPVEC(3NCARG) from the NCAR GRAPHICS fam π)
okay bestie, sit down, hydrate, and let me tell you about the little map-drawing icon that could π
πΈ NAME πΈ
MAPVEC β draws lines on a map. that's it, that's the vibe. it's used in conjunction with MAPFST, they're a package deal, you never see one without the other fr fr π
π¦ SYNOPSIS π¦
CALL MAPVEC (RLAT,RLON)
β¨ C-BINDING SYNOPSIS β¨
#include <ncarg/ncargC.h>
void c_mapvec (float rlat, float rlon)
π DESCRIPTION π
RLATandRLONβ these are input expressions, type REAL, and they say where the "pen" should get moved to. both are in degrees. ποΈβ¨RLAThas to be between -90. and +90., inclusive. no cap, those are the walls.RLONhas to be between -540. and +540., inclusive. yes, that's a whole extra lap and a half of longitude, they really said "go around as many times as you want bestie" π
π C-BINDING DESCRIPTION π
the C-binding argument descriptions are literally the same as the FORTRAN argument descriptions. same energy, different language, we love a bilingual king π
π USAGE π
so here's the tea β β this statement:
CALL MAPVEC (RLAT, RLON)
is equivalent to:
CALL MAPIT (RLAT, RLON, 1)
it moves the "pen" (and the pen is in the "down" position, so it's actually drawing, not just hovering) to the next point in a series of points. so like, it's the connective-tissue function, it's the "and then" of your map line π«
go read the man page for MAPIT if you want the full lore, bestie, it's all there π«Ά
π₯ ACCESS π₯
to use MAPVEC or c_mapvec, you gotta load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β preferably in that exact order. the order matters, don't be chaotic π
π SEE ALSO π
Online, aka the whole friend group π«:
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, mappos, maproj, maprs, maprst, mapsav, mapset, mapstc, mapsti, mapstl, mapstr, maptra, maptri, maptrn, mapusr, 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
π COPYRIGHT π
Copyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
sign-off szn πΈ this whole thing lived in the UNIX manual, dated March 1993, and it goes by MAPVEC(3NCARG). iconic, timeless, a legend honestly. 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