NAME¶
TDGRID - Draw a perimeter, optionally with ticks or grid lines, around the edges
of the reference parallelogram defined by the last call to TDPARA. This
routine is normally called indirectly (by virtue of a call to TDGRDS), but
there is no reason why it should not be called directly.
SYNOPSIS¶
CALL TDGRID (XBEG, XSTP, NOXS, YBEG, YSTP, NOYS, IGRD)
C-BINDING SYNOPSIS¶
#include <ncarg/ncargC.h>
void c_tdgrid(float xbeg, float xstp, int noxs, float ybeg, float ystp, int
noys, int igrd)
DESCRIPTION¶
The arguments of TDGRID are as follows:
- XBEG, XSTP, and NOXS
- (input expressions of types REAL, REAL, and INTEGER, respectively) -
define where ticks or grid lines are to be drawn along the "X"
axis of the parallelogram (at XBEG, XBEG+XSTP, XBEG+2*XSTP, ...
XBEG+NOXS*XSTP).
- YBEG, YSTP, and NOYS
- (input expressions of types REAL, REAL, and INTEGER, respectively) -
define where ticks or grid lines are to be drawn along the "Y"
axis of the parallelogram (at YBEG, YBEG+YSTP, YBEG+2*YSTP, ...
YBEG+NOYS*YSTP).
- IGRD
- (an input expression of type INTEGER) - defines what is to be drawn and
has one of the values 1 (draw just a perimeter), 2 (draw a perimeter with
inward-pointing ticks), or 3 (draw a perimeter with a grid).
C-BINDING DESCRIPTION¶
The C-binding argument descriptions are the same as the FORTRAN argument
descriptions.
ACCESS¶
To use TDGRID or c_tdgrid, load the NCAR Graphics libraries ncarg, ncarg_gks,
and ncarg_c, preferably in that order.
SEE ALSO¶
Online: tdclrs, tdctri, tddtri, tdgeti, tdgetr, tdgrds, tdgtrs, tdinit, tditri,
tdlbla, tdlbls, tdline, tdlnpa, tdmtri, tdotri, tdpack, tdpack_params, tdpara,
tdplch, tdprpa, tdprpi, tdprpt, tdseti, tdsetr, tdsort, tdstri, tdstrs
COPYRIGHT¶
Copyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.