ncl_fence3 (3) - Linux Manuals

ncl_fence3: Draws the projection of a curve, just as CURVE3

NAME

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.

SYNOPSIS

CALL 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)

DESCRIPTION

U,V,W
(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.
N
(an input expression of type INTEGER) is the number of points defining the curve.
IOREN
(an input expression of type INTEGER) is the direction in which fence lines are to be drawn, as follows:
1
Parallel to the U axis.
2
Parallel to the V axis.
3
Parallel to the W axis.
BOT
(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 DESCRIPTION

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

EXAMPLES

Use the ncargex command to see the following relevant example: fthex04.

ACCESS

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

COPYRIGHT

Copyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.

SEE ALSO

Online: threed, curve3, frst3, line3, perim3, point3, psym3, pwrz, pwrzt, set3, threed, tick3, tick43, vect3, ncarg_cbind.

Hardcopy: NCAR Graphics Fundamentals, UNIX Version