logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

PERIM - Draws an unlabeled perimeter with inward-pointing tick marks. The directions and lengths of tick

Access

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

C-Binding Description

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

C-Binding Synopsis

       #include <ncarg/ncargC.h>

       void c_perim (int mjrx, int mnrx, int mjry, int mnry)

Description

       MJRX, MNRX, MJRY, and MNRY
                   (input  expressions  of type INTEGER) specify the major and minor divisions of the horizontal
                   (X) and vertical (Y) axes of the current viewport. The meanings of these parameters depend on
                   the current setting of the internal parameter ´LS´ of SPPS:

                   •      If the value of ´LS´ implies that the axis is linear: MJRX(Y) specifies the number  of
                          major  divisions  of the X(Y) axis and MNRX(Y) specifies the number of minor divisions
                          within each major division. In each case, the value specifies  the  number  of  spaces
                          between  grid  lines  or ticks rather than the number of lines or ticks. Including the
                          ones at the ends of the axes, there is always one more major  division  line  or  mark
                          than  the  number  of major divisions specified by MJRX(Y). Similarly, there is always
                          one less minor division line or tick per major  division  than  the  number  of  minor
                          divisions per major division specified by MNRX(Y).

                   •      If  the  value of ´LS´ implies that the axis is logarithmic: Each major division point
                          occurs at a value 10**MJRX(Y) times the previous point. For example, if the minimum X-
                          axis value were 3., the maximum X-axis value 3000. and MJRX 1, then the major division
                          points would be 3., 30., 300., and  3000.  If  MNRX(Y).LE.10,  there  are  nine  minor
                          divisions  within each major division. For example, between 3. and 30., there would be
                          minor division points at 6., 9., 12., .  . . 27. If  MNRX(Y).GT.10.,  minor  divisions
                          are omitted.

Examples

       Use  the  ncargex command to see the following relevant examples: caredg, ccpset, cpex01, tgrida, tstrml,
       fcover, ffex00, ffex01, ffex02, ffex03, ffex04, ffex05.

Name

       PERIM - Draws an unlabeled perimeter with inward-pointing tick marks. The directions and lengths of tick
       marks may be changed by calling TICKS and/or TICK4.

See Also

       Online:  gridall,  gacolr,  gagetc,  gageti, gagetr, gasetc, gaseti, gasetr, grid, gridal, gridl, halfax,
       labmod, periml, tick4, ticks, ncarg_cbind.

       Hardcopy: NCAR Graphics Fundamentals, UNIX Version

Synopsis

       CALL PERIM (MJRX, MNRX, MJRY, MNRY)

Usage

       The statement

          CALL PERIM (MJRX,MNRX,MJRY,MNRY)

       is equivalent to

          CALL GRIDAL (MJRX,MNRX,MJRY,MNRY,0,0,5,0.,0.)

See Also