1MPNAME(3NCARG) NCAR GRAPHICS MPNAME(3NCARG)
2
3
4
6 MPNAME - Given the area identifier of one of the areas defined by
7 whatever database was last read by one of the EZMAPB routines MPLNAM,
8 MPLNDM, MPLNDR, and MPLNRI, this function returns the name of the area.
9
11 CHARACTER*64 MPNAME,NAME
12
13 NAME=MPNAME(IAIN)
14
16 #include <ncarg/ncargC.h>
17
18 char *c_mpname (int iain)
19
21 IAIN is an input expression of type INTEGER, specifying the area
22 identifier of a particular area of interest.
23
25 The C-binding argument description is the same as the FORTRAN argument
26 description.
27
29 Given the declaration "CHARACTER*64 MPNAME,NAME", the executable
30 statement "NAME=MPNAME(IAIN)" will retrieve in NAME the name of the
31 area with area identifier IAIN. For example, if IMAD is the area
32 identifier of the little island in Lake Superior called "Lake
33 Madeline", then MPNAME(IMAD) = 'Madeline Island (Lake Superior)'.
34
35 To get the name of the area, at a specified level, that contains an
36 area with a specified area identifier, use MPNAME in combination with
37 MPIOAR. For example, MPNAME(MPIOAR(IMAD,3)) = 'Conterminous US', and
38 MPNAME(MPIOAR(IMAD,2)) = 'North America'.
39
41 Use the ncargex command to see the following relevant examples: mpex11,
42 mpex12.
43
45 To use MPNAME or c_mpname, load the NCAR Graphics libraries ncarg,
46 ncarg_gks, and ncarg_c, preferably in that order.
47
49 Online: ezmap, ezmap_params, mapaci, mapbla, mapblm, mapdrw, mapeod,
50 mapfst, mapgci, mapgrd, mapgrm, mapgtc, mapgti, mapgtl, mapgtr, mapint,
51 mapiq, mapiqa, mapiqd, mapiqm, mapit, mapita, mapitd, mapitm, maplbl,
52 maplmb, maplot, mappos, maproj, maprs, maprst, mapsav, mapset, mapstc,
53 mapsti, mapstl, mapstr, maptra, maptri, maptrn, mapusr, mapvec, mpchln,
54 mpfnme, mpgetc, mpgeti, mpgetl, mpgetr, mpglty, mpiaty, mpifnb, mpilnb,
55 mpiola, mpiosa, mpipai, mpipan, mpipar, mpisci, mplnam, mplndm, mplndr,
56 mplnri, mprset, mpsetc, mpseti, mpsetl, mpsetr, supmap, supcon,
57 ncarg_cbind
58
60 Copyright (C) 1987-2009
61 University Corporation for Atmospheric Research
62 The use of this Software is governed by a License Agreement.
63
64
65
66UNIX April 1998 MPNAME(3NCARG)