MAPACI(3NCARG)
π MAPACI β it's giving "pick a color for your map areas" (3NCARG, NCAR GRAPHICS bestie) π
okay so listen. this is the MAPACI page from the NCAR GRAPHICS manual and it's literally about picking colors for the areas made by boundary lines, so let's get into it π
β¨ NAME β¨
MAPACI β normally used to pick colors for the areas created by the boundary lines added to an area map by a call to MAPBLA. π¨
NOT ME USING THIS FOR THE WRONG DATABASE π bestie, real talk: this function should not be used to select color indices for areas defined by the new map database"Earth..1", which was created in 1998. for that purpose, useEZMAPBfunctions instead (in particular,MPISCI). iykyk π«Ά
πΈ SYNOPSIS πΈ
ICIR=MAPACI(IAID)
π¦ C-BINDING SYNOPSIS π¦
#include <ncarg/ncargC.h>
int c_mapaci (int iaid)
π DESCRIPTION π
IAIDβ (an input expression of typeINTEGER) is an area identifier for one of the areas defined by the set of boundary lines added to an area map by a call toMAPBLA. no cap, that's the whole vibe check on this arg β¨
π C-BINDING DESCRIPTION π
the C-binding argument description is the same as the FORTRAN argument description. literally identical, same energy, no notes π
π USAGE π
executing the statement "ICIR=MAPACI(IAID)" gives ICIR a value between 1 and 7, inclusive, that may be used to select a color index for the area whose area identifier is IAID. π
and here's the iconic part: it is guaranteed that MAPACI will not return the same value for adjacent areas. π this fact can be used to ensure that adjacent areas will have different colors. slay, honestly.
heads up bestie π note that it is the responsibility of the user to define the colors associated with color indices used; this is done by calling the GKS routine GSCR. so like, MAPACI hands you the index, but the actual color drip is on you π
β EXAMPLES β
use the ncargex command to see the following relevant example: eezmpa. go look at it, it's right there πΈ
π₯ ACCESS π₯
to use MAPACI or c_mapaci, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order. order matters, don't be chaotic about it π«Ά
π SEE ALSO π
online: ezmap, ezmap_params, 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, 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 π
π 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, you ate it, go pick some colors bestie πβ¨
mwah π β this was the MAPACI(3NCARG) page, straight out of the UNIX manual, dated March 1993. periodt. π
π¦ where this page comes from
- epel 9: ncl-devel 6.6.2-59.el9 Β· LicenseRef-Callaway-BSD
- fedora 43: ncl-devel 6.6.2-58.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: ncl-devel 6.6.2-62.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms