1PERIM(3NCARG)                    NCAR GRAPHICS                   PERIM(3NCARG)
2
3
4

NAME

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

SYNOPSIS

11       CALL PERIM (MJRX, MNRX, MJRY, MNRY)
12

C-BINDING SYNOPSIS

14       #include <ncarg/ncargC.h>
15
16       void c_perim (int mjrx, int mnrx, int mjry, int mnry)
17

DESCRIPTION

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

C-BINDING DESCRIPTION

53       The C-binding argument descriptions are the same as the FORTRAN
54       argument descriptions.
55

USAGE

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

EXAMPLES

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

ACCESS

71       To use PERIM or c_perim, load the NCAR Graphics libraries ncarg,
72       ncarg_gks, and ncarg_c, preferably in that order.
73

SEE ALSO

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-2007
83       University Corporation for Atmospheric Research
84
85       This documentation is free software; you can redistribute it and/or
86       modify it under the terms of the GNU General Public License as
87       published by the Free Software Foundation; either version 2 of the
88       License, or (at your option) any later version.
89
90       This software is distributed in the hope that it will be useful, but
91       WITHOUT ANY WARRANTY; without even the implied warranty of
92       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
93       General Public License for more details.
94
95       You should have received a copy of the GNU General Public License along
96       with this software; if not, write to the Free Software Foundation,
97       Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
98
99
100
101UNIX                              March 1993                     PERIM(3NCARG)
Impressum