ncl_fence3 (3) - Linux Manuals
ncl_fence3: Draws the projection of a curve, just as CURVE3
FENCE3 - Draws the projection of a curve, just as CURVE3 does, but with a "fence" of straight line segments that are parallel to one of the three axes and extend from the curve to a specified plane perpendicular to that axis.
SYNOPSISCALL FENCE3 (U,V,W,N,IOREN,BOT)
C-BINDING SYNOPSIS#include <ncarg/ncargC.h>
void c_fence3 (float *u, float *v, float *w, int n,
int ioren, float bot)
- (input arrays, dimensioned at least N, of type REAL) contain the U, V, and W coordinates, respectively, of the points defining the curve whose projection is to be drawn.
- (an input expression of type INTEGER) is the number of points defining the curve.
(an input expression of type INTEGER)
is the direction in which fence lines are to be drawn, as
- Parallel to the U axis.
- Parallel to the V axis.
- Parallel to the W axis.
(an input expression of type REAL)
specifies where the bottom of the fence is to be drawn.
For example, if the fence lines are to be drawn parallel to the
W-axis, and BOT=2., then the bottom of the fence would
be the plane W=2.
The word "bottom" may be misleading here; the entire curve might be below the plane of the "bottom" and the fence might be horizontal, rather than vertical, in the three-dimensional space.
The curve and the fence are drawn in the colors implied by the values of the variables ITHRMJ and ITHRMN, respectively, in the Threed COMMON block
- COMMON /THRINT/ ITHRMJ,ITHRMN,ITHRTX
The default value of both ITHRMJ and ITHRMN is 1; user code may change these values.
C-BINDING DESCRIPTIONThe C-binding argument descriptions are the same as the FORTRAN argument descriptions.
EXAMPLESUse the ncargex command to see the following relevant example: fthex04.
ACCESSTo use FENCE3 or c_fence3, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order.
COPYRIGHTCopyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.