1MAPACI(3NCARG) NCAR GRAPHICS MAPACI(3NCARG)
2
3
4
6 MAPACI - Normally used to pick colors for the areas created by the
7 boundary lines added to an area map by a call to MAPBLA. Note that
8 this function should not be used to select color indices for areas
9 defined by the new map database "Earth..1", which was created in 1998;
10 for that purpose, use EZMAPB functions instead (in particular, MPISCI).
11
13 ICIR=MAPACI(IAID)
14
16 #include <ncarg/ncargC.h>
17
18 int c_mapaci (int iaid)
19
21 IAID (an input expression of type INTEGER) is an area identifier
22 for one of the areas defined by the set of boundary lines
23 added to an area map by a call to MAPBLA.
24
26 The C-binding argument description is the same as the FORTRAN argument
27 description.
28
30 Executing the statement "ICIR=MAPACI(IAID)" gives ICIR a value between
31 1 and 7, inclusive, that may be used to select a color index for the
32 area whose area identifier is IAID. It is guaranteed that MAPACI will
33 not return the same value for adjacent areas; this fact can be used to
34 ensure that adjacent areas will have different colors.
35
36 Note that it is the responsibility of the user to define the colors
37 associated with color indices used; this is done by calling the GKS
38 routine GSCR.
39
41 Use the ncargex command to see the following relevant example: eezmpa.
42
44 To use MAPACI or c_mapaci, load the NCAR Graphics libraries ncarg,
45 ncarg_gks, and ncarg_c, preferably in that order.
46
48 Online: ezmap, ezmap_params, mapbla, mapblm, mapdrw, mapeod, mapfst,
49 mapgci, mapgrd, mapgrm, mapgtc, mapgti, mapgtl, mapgtr, mapint, mapiq,
50 mapiqa, mapiqd, mapiqm, mapit, mapita, mapitd, mapitm, maplbl, maplmb,
51 maplot, mappos, maproj, maprs, maprst, mapsav, mapset, mapstc, mapsti,
52 mapstl, mapstr, maptra, maptri, maptrn, mapusr, mapvec, mpchln, mpfnme,
53 mpgetc, mpgeti, mpgetl, mpgetr, mpglty, mpiaty, mpifnb, mpilnb, mpiola,
54 mpiosa, mpipai, mpipan, mpipar, mpisci, mplnam, mplndm, mplndr, mplnri,
55 mpname, mprset, mpsetc, mpseti, mpsetl, mpsetr, supmap, supcon,
56 ncarg_cbind
57
58 Hardcopy: NCAR Graphics Contouring and Mapping Tutorial
59
61 Copyright (C) 1987-2009
62 University Corporation for Atmospheric Research
63 The use of this Software is governed by a License Agreement.
64
65
66
67UNIX March 1993 MAPACI(3NCARG)