1EZSRFC(3NCARG) NCAR GRAPHICS EZSRFC(3NCARG)
2
3
4
6 EZSRFC - Draws a perspective picture of a function of two variables
7 with hidden lines removed. The function is approximated by a two-
8 dimensional array of heights. Use EZSRFC only if the entire array is to
9 be drawn, the data points are equally spaced in the X-Y plane, there
10 are no stereo pairs, and scaling is chosen internally.
11
13 CALL EZSRFC (Z,M,N,ANGH,ANGV,WORK)
14
16 #include <ncarg/ncargC.h>
17
18 void c_ezsrfc (float *z, int m, int n, float angh, float angv,
19 float *work)
20
22 Z The M by N array to be drawn.
23
24 M The first dimension of Z.
25
26 N The second dimension of Z.
27
28 ANGH Angle in degrees in the X-Y plane to the line of sight
29 (counterclockwise from the plus-X axis).
30
31 ANGV Angle in degrees from the X-Y plane to the line of sight
32 (positive angles are above the middle Z, negative below).
33
34 WORK A scratch storage dimensioned at least 2*M*N+M+N.
35
37 The C-binding argument descriptions are the same as the FORTRAN
38 argument descriptions, with the following exceptions:
39
40 z The n by m array to be drawn.
41
42 m The second dimension of z.
43
44 n The first dimension of z.
45
47 Use the ncargex command to see the following relevant examples:
48 fsrezsrf, tsrfac.
49
51 To use EZSRFC or c_ezsrfc, load the NCAR Graphics libraries ncarg,
52 ncarg_gks, and ncarg_c, preferably in that order.
53
55 Online: surface, surface_params, pwrzs, setr, srface. ncarg_cbind.
56
57 Hardcopy: NCAR Graphics Fundamentals, UNIX Version
58
60 Copyright (C) 1987-2009
61 University Corporation for Atmospheric Research
62 The use of this Software is governed by a License Agreement.
63
64
65
66UNIX March 1993 EZSRFC(3NCARG)