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-2007
61 University Corporation for Atmospheric Research
62
63 This documentation is free software; you can redistribute it and/or
64 modify it under the terms of the GNU General Public License as
65 published by the Free Software Foundation; either version 2 of the
66 License, or (at your option) any later version.
67
68 This software is distributed in the hope that it will be useful, but
69 WITHOUT ANY WARRANTY; without even the implied warranty of
70 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
71 General Public License for more details.
72
73 You should have received a copy of the GNU General Public License along
74 with this software; if not, write to the Free Software Foundation,
75 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
76
77
78
79UNIX March 1993 EZSRFC(3NCARG)