MAPFST(3NCARG)

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

πŸ’– MAPFST β€” bestie, it's pen-moving time πŸ’–

NCAR Graphics manual, section 3NCARG. Yes this is the MAPFST(3NCARG) page. Sit down, hydrate, and let's draw some lines on a map ✨


✨ NAME ✨

MAPFST β€” draws lines on a map, and it's meant to be used in conjunction with MAPVEC. They're a duo, fr fr 🫢


🌸 SYNOPSIS 🌸

CALL MAPFST (RLAT,RLON)

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

#include <ncarg/ncargC.h>

void c_mapfst (float rlat, float rlon)

πŸ‘‘ DESCRIPTION πŸ‘‘

  • RLAT and RLON β€” these are input expressions, of type REAL, and they specify the latitude and longitude of a point that the "pen" is gonna be moved to. Both are in degrees, okay? And listen: RLAT has to be between -90. and +90., inclusive, and RLON has to be between -540. and +540., inclusive. That's the range, no cap πŸ’…

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

The C-binding argument descriptions are literally the same as the FORTRAN argument descriptions. Same energy, different syntax 🧚


πŸ”₯ USAGE πŸ”₯

So this statement:

CALL MAPFST (RLAT, RLON)

is equivalent to:

CALL MAPIT (RLAT, RLON, 0)

What it does: it moves the "pen" β€” and the pen is in the "up" position the whole time, okay, so we're not drawing, we're traveling β€” to the first point in a series of points. Like, you're getting your pen into position before the real work starts. Main character setup moment ✨

Go read the man page for MAPIT too, bestie, it's giving the full lore.

🌈 ACCESS 🌈

To use MAPFST or c_mapfst, you gotta load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β€” and preferably in that order, don't fight the order, the order ate πŸ’―


⭐ SEE ALSO ⭐

Online: ezmap, ezmap_params, mapaci, mapbla, mapblm, mapdrw, mapeod, 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, 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

That's the whole friend group, go say hi 🫢


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, you ate that πŸŽ€ This was the MAPFST(3NCARG) page from the NCAR Graphics manual, source is UNIX, dated March 1993 β€” yes she's an elder but she still slays πŸ’…βœ¨

πŸ“¦ where this page comes from