ncl_mapaci (3) - Linux Manuals
MAPACI - Normally used to pick colors for the areas created by the boundary lines added to an area map by a call to MAPBLA. Note that 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, use EZMAPB functions instead (in particular, MPISCI).
C-BINDING SYNOPSIS#include <ncarg/ncargC.h>
- (an input expression of type INTEGER) is an area identifier for one of the areas defined by the set of boundary lines added to an area map by a call to MAPBLA.
C-BINDING DESCRIPTIONThe C-binding argument description is the same as the FORTRAN argument description.
USAGEExecuting 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. 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.
EXAMPLESUse the ncargex command to see the following relevant example: eezmpa.
ACCESSTo use MAPACI or c_mapaci, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order.
COPYRIGHTCopyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.