1MAPGRD(3NCARG) NCAR GRAPHICS MAPGRD(3NCARG)
2
3
4
6 MAPGRD - Draws a lat/lon grid.
7
9 CALL MAPGRD
10
12 #include <ncarg/ncargC.h>
13
14 void c_mapgrd()
15
17 MAPGRD has no arguments.
18
20 The statement:
21
22 CALL MAPGRD
23
24 draws a grid consisting of lines of constant latitude (parallels) and
25 lines of constant longitude (meridians), spaced as specified by the
26 value of the internal parameter 'GR'. If EZMAP needs initialization or
27 if the value of 'GR' is less than or equal to zero or if there is an
28 uncleared NCAR Graphics error, MAPGRD does nothing.
29
30 The grid is drawn using calls to MAPIT and MAPIQ. By default, MAPGRD
31 temporarily forces the value of the internal parameter 'DL' to zero, so
32 that the grid will be drawn using calls to the routines FRSTD and
33 VECTD, in the dash package. MAPGRD also temporarily forces the use of
34 the dash pattern defined by the internal parameter 'DA'. A user
35 version of the routine MAPUSR may be supplied to change the way in
36 which grid lines are drawn. Before returning control to the user,
37 MAPGRD restores the original value of 'DL' and resets the current dash
38 pattern to be used by the dash package.
39
41 Use the ncargex command to see the following relevant examples:
42 ccpcica, ccpmovi, cmpclr, cmpdd, cmpgrd, cmplbl, cmplot, cmptit,
43 epltch, ffex02, fpchiqu.
44
46 To use MAPGRD or c_mapgrd, load the NCAR Graphics libraries ncarg,
47 ncarg_gks, and ncarg_c, preferably in that order.
48
50 Online: ezmap, ezmap_params, mapaci, mapbla, mapblm, mapdrw, mapeod,
51 mapfst, mapgci, mapgrm, mapgtc, mapgti, mapgtl, mapgtr, mapint, mapiq,
52 mapiqa, mapiqd, mapiqm, mapit, mapita, mapitd, mapitm, maplbl, maplmb,
53 maplot, mappos, maproj, maprs, maprst, mapsav, mapset, mapstc, mapsti,
54 mapstl, mapstr, maptra, maptri, maptrn, mapusr, mapvec, mpchln, mpfnme,
55 mpgetc, mpgeti, mpgetl, mpgetr, mpglty, mpiaty, mpifnb, mpilnb, mpiola,
56 mpiosa, mpipai, mpipan, mpipar, mpisci, mplnam, mplndm, mplndr, mplnri,
57 mpname, mprset, mpsetc, mpseti, mpsetl, mpsetr, supmap, supcon,
58 ncarg_cbind
59
60 Hardcopy: NCAR Graphics Contouring and Mapping Tutorial
61
63 Copyright (C) 1987-2007
64 University Corporation for Atmospheric Research
65
66 This documentation is free software; you can redistribute it and/or
67 modify it under the terms of the GNU General Public License as
68 published by the Free Software Foundation; either version 2 of the
69 License, or (at your option) any later version.
70
71 This software is distributed in the hope that it will be useful, but
72 WITHOUT ANY WARRANTY; without even the implied warranty of
73 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
74 General Public License for more details.
75
76 You should have received a copy of the GNU General Public License along
77 with this software; if not, write to the Free Software Foundation,
78 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
79
80
81
82UNIX March 1993 MAPGRD(3NCARG)