1PERIM(3NCARG) NCAR GRAPHICS PERIM(3NCARG)
2
3
4
6 PERIM - Draws an unlabeled perimeter with inward-pointing tick marks.
7 The directions and lengths of tick marks may be changed by calling
8 TICKS and/or TICK4.
9
11 CALL PERIM (MJRX, MNRX, MJRY, MNRY)
12
14 #include <ncarg/ncargC.h>
15
16 void c_perim (int mjrx, int mnrx, int mjry, int mnry)
17
19 MJRX, MNRX, MJRY, and MNRY
20 (input expressions of type INTEGER) specify the major and
21 minor divisions of the horizontal (X) and vertical (Y) axes
22 of the current viewport. The meanings of these parameters
23 depend on the current setting of the internal parameter
24 ´LS´ of SPPS:
25
26 · If the value of ´LS´ implies that the axis is
27 linear: MJRX(Y) specifies the number of major
28 divisions of the X(Y) axis and MNRX(Y) specifies the
29 number of minor divisions within each major
30 division. In each case, the value specifies the
31 number of spaces between grid lines or ticks rather
32 than the number of lines or ticks. Including the
33 ones at the ends of the axes, there is always one
34 more major division line or mark than the number of
35 major divisions specified by MJRX(Y). Similarly,
36 there is always one less minor division line or tick
37 per major division than the number of minor
38 divisions per major division specified by MNRX(Y).
39
40 · If the value of ´LS´ implies that the axis is
41 logarithmic: Each major division point occurs at a
42 value 10**MJRX(Y) times the previous point. For
43 example, if the minimum X-axis value were 3., the
44 maximum X-axis value 3000. and MJRX 1, then the
45 major division points would be 3., 30., 300., and
46 3000. If MNRX(Y).LE.10, there are nine minor
47 divisions within each major division. For example,
48 between 3. and 30., there would be minor division
49 points at 6., 9., 12., . . . 27. If MNRX(Y).GT.10.,
50 minor divisions are omitted.
51
53 The C-binding argument descriptions are the same as the FORTRAN
54 argument descriptions.
55
57 The statement
58
59 CALL PERIM (MJRX,MNRX,MJRY,MNRY)
60
61 is equivalent to
62
63 CALL GRIDAL (MJRX,MNRX,MJRY,MNRY,0,0,5,0.,0.)
64
66 Use the ncargex command to see the following relevant examples: caredg,
67 ccpset, cpex01, tgrida, tstrml, fcover, ffex00, ffex01, ffex02, ffex03,
68 ffex04, ffex05.
69
71 To use PERIM or c_perim, load the NCAR Graphics libraries ncarg,
72 ncarg_gks, and ncarg_c, preferably in that order.
73
75 Online: gridall, gacolr, gagetc, gageti, gagetr, gasetc, gaseti,
76 gasetr, grid, gridal, gridl, halfax, labmod, periml, tick4, ticks,
77 ncarg_cbind.
78
79 Hardcopy: NCAR Graphics Fundamentals, UNIX Version
80
82 Copyright (C) 1987-2009
83 University Corporation for Atmospheric Research
84 The use of this Software is governed by a License Agreement.
85
86
87
88UNIX March 1993 PERIM(3NCARG)