ncl_ezsrfc - Man Page

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.

Synopsis

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

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.

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.

Examples

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

Access

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

See Also

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

Hardcopy: NCAR Graphics Fundamentals, UNIX Version

Info

March 1993 UNIX NCAR GRAPHICS