MAPFST(3NCARG)

✨ MAPFST β€” the NCAR Graphics girlies know πŸ’…

okay so bestie, we're in NCAR GRAPHICS land and this page is literally about MAPFST, a Fortran (and C!) routine that draws lines on a map. It only really makes sense next to its partner in crime, MAPVEC. πŸ—ΊοΈβœ¨


🌸 NAME 🌸

MAPFST β€” draws lines on a map, and it's meant to be used in conjunction with MAPVEC. no cap.


πŸŽ€ 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 say where the "pen" is getting moved to. Think of it like telling your little cursor bestie where to go next. πŸ–ŠοΈ

Both of them are given in degrees, okay? Important.

  • RLAT must be between -90. and +90., inclusive. (it's giving latitude, so like, yeah, that tracks πŸ’€)
  • RLON must be between -540. and +540., inclusive. yes, five hundred and forty. she's flexible like that. 🌈

🌟 C-BINDING DESCRIPTION 🌟

The C-binding argument descriptions are the same as the FORTRAN argument descriptions. same vibe, different syntax, slay. πŸ’…


πŸ”₯ USAGE πŸ”₯

okay so this statement:

CALL MAPFST (RLAT, RLON)

is equivalent to this statement:

CALL MAPIT (RLAT, RLON, 0)

What it does: it moves the "pen" (which is in the "up" position, so it's not drawing yet, she's just traveling ✈️) to the first point in a series of points.

fr fr, go read the man page for MAPIT if you wanna know more β€” MAPFST is lowkey just MAPIT with extra steps. πŸ‘‘

πŸ‘‘ 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, bestie. don't fight the order, she knows what she's doing. 🫢


🌈 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

like... that's the whole group chat. πŸ’€βœ¨


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


and that's the tea πŸ“ this page is a UNIX manual page from March 1993 β€” yes, she's vintage, she's iconic, she's still running. periodt. πŸ’…πŸŽ€πŸ¦‹