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

EZSRFC - Draws a perspective picture of a function of two variables with hidden lines removed. The

Access

       To  use EZSRFC or c_ezsrfc, 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, with the following
       exceptions:

       z           The n by m array to be drawn.

       m           The second dimension of z.

       n           The first dimension of z.

C-Binding Synopsis

       #include <ncarg/ncargC.h>

       void c_ezsrfc (float *z, int m, int n, float angh, float angv,
       float *work)

Description

       Z           The M by N array to be drawn.

       M           The first dimension of Z.

       N           The second dimension of Z.

       ANGH        Angle  in  degrees  in  the  X-Y plane to the line of sight (counterclockwise from the plus-X
                   axis).

       ANGV        Angle in degrees from the X-Y plane to the line of  sight  (positive  angles  are  above  the
                   middle Z, negative below).

       WORK        A scratch storage dimensioned at least 2*M*N+M+N.

Examples

       Use the ncargex command to see the following relevant examples: fsrezsrf, tsrfac.

Name

       EZSRFC - Draws a perspective picture of a function of two variables with hidden lines removed. The
       function is approximated by a two-dimensional array of heights. Use EZSRFC only if the entire array is to
       be drawn, the data points are equally spaced in the X-Y plane, there are no stereo pairs, and scaling is
       chosen internally.

See Also

       Online: surface, surface_params, pwrzs, setr, srface.  ncarg_cbind.

       Hardcopy: NCAR Graphics Fundamentals, UNIX Version

Synopsis

       CALL EZSRFC (Z,M,N,ANGH,ANGV,WORK)

See Also