1TDGRDS(3NCARG) NCAR GRAPHICS TDGRDS(3NCARG)
2
3
4
6 TDGRDS - Draw perimeters, optionally with ticks or grid lines, on the
7 six sides of a box. This routine calls TDPARA and will therefore change
8 the definition of the reference parallelogram.
9
11 CALL TDGRDS (UMIN, VMIN, WMIN, UMAX, VMAX, WMAX, USTP, VSTP, WSTP,
12 IGRT, IHID)
13
15 #include <ncarg/ncargC.h>
16
17 void c_tdgrds(float umin, float vmin, float wmin, float umax, float
18 vmax, float wmax, float ustp, float vstp, float wstp, int igrt, int
19 ihid)
20
22 The arguments of TDGRDS are as follows:
23
24 UMIN, VMIN, WMIN, UMAX, VMAX, WMAX
25 (input expressions of type REAL) - coordinate values defining
26 the box in 3-space. The names of these should make it clear
27 what they are.
28
29 USTP, VSTP, and WSTP
30 (input expressions of type REAL) - specify step sizes between
31 ticks or grid lines in the U direction, the V direction, and
32 the W direction, respectively. If one of these values is less
33 than or equal to zero, the ticks or grid lines in the
34 associated direction are omitted.
35
36 IGRT (an input expression of type INTEGER) - of the form
37 10*IGRN+IGRF, where IGRN is a value specifying what to draw on
38 the near sides of the box and IGRF is a value specifying what
39 to draw on the far sides of the box, where "near" and "far" are
40 as defined by the current line of sight. Each of IGRN and IGRF
41 can have one of the values 0 (draw nothing), 1 (draw just a
42 perimeter), 2 (draw a perimeter with inward-pointing ticks), or
43 3 (draw a perimeter with a grid). For example, to draw grids on
44 the far side of the box and just perimeters on the near sides
45 of the box, use IGRT = 13.
46
47 IHID (an input expression of type INTEGER) - set to 0 to draw only
48 those sides of the box that cannot be hidden by something
49 inside the box or to 1 to draw only those sides of the box that
50 can be hidden by something inside the box. Standard operating
51 procedure is to call TDGRDS before drawing surfaces inside a
52 box, with IHID set to 1, and then call it again after drawing
53 surfaces inside a box, with IHID set to 0.
54
56 The C-binding argument descriptions are the same as the FORTRAN
57 argument descriptions.
58
60 To use TDGRDS or c_tdgrds, load the NCAR Graphics libraries ncarg,
61 ncarg_gks, and ncarg_c, preferably in that order.
62
64 Online: tdclrs, tdctri, tddtri, tdgeti, tdgetr, tdgrid, tdgtrs, tdinit,
65 tditri, tdlbla, tdlbls, tdline, tdlnpa, tdmtri, tdotri, tdpack,
66 tdpack_params, tdpara, tdplch, tdprpa, tdprpi, tdprpt, tdseti, tdsetr,
67 tdsort, tdstri, tdstrs
68
70 Copyright (C) 1987-2009
71 University Corporation for Atmospheric Research
72 The use of this Software is governed by a License Agreement.
73
74
75
76UNIX July 1997 TDGRDS(3NCARG)