1PLOT3D(3plplot) PLplot API PLOT3D(3plplot)
2
3
4
6 plot3d - Plot 3-d surface plot
7
9 plot3d(x, y, z, nx, ny, opt, side)
10
12 Plots a three dimensional surface plot within the environment set up by
13 plw3d(3plplot). The surface is defined by the two-dimensional array
14 z[nx][ny], the point z[i][j] being the value of the function at (x[i],
15 y[j]). Note that the points in arrays x and y do not need to be
16 equally spaced, but must be stored in ascending order. The parameter
17 opt controls the way in which the surface is displayed. For further
18 details see the PLplot documentation. The only difference between
19 plmesh(3plplot) and plot3d(3plplot) is that plmesh(3plplot) draws the
20 botton side of the surface, while plot3d(3plplot) only draws the sur‐
21 face as viewed from the top.
22
23 Redacted form: plot3d(x, y, z, opt, side)
24
25 This function is used in examples 11,21.
26
28 x (PLFLT *, input)
29 Pointer to set of x coordinate values at which the function is
30 evaluated.
31
32 y (PLFLT *, input)
33 Pointer to set of y coordinate values at which the function is
34 evaluated.
35
36 z (PLFLT **, input)
37 Pointer to a vectored two-dimensional array with set of function
38 values.
39
40 nx (PLINT, input)
41 Number of x values at which function is evaluated.
42
43 ny (PLINT, input)
44 Number of y values at which function is evaluated.
45
46 opt (PLINT, input)
47 Determines the way in which the surface is represented:
48 opt=DRAW_LINEX: Lines are drawn showing z as a function of x for
49 each value of y[j]. opt=DRAW_LINEY: Lines are drawn showing z
50 as a function of y for each value of x[i]. opt=DRAW_LINEXY:
51 Network of lines is drawn connecting points at which function is
52 defined.
53
54
55 side (PLBOOL, input)
56 Flag to indicate whether or not ``sides'' should be draw on the
57 figure. If side is true sides are drawn, otherwise no sides are
58 drawn.
59
60
62 Geoffrey Furnish and Maurice LeBrun wrote and maintain PLplot. This
63 man page was automatically generated from the DocBook source of the
64 PLplot documentation, maintained by Alan W. Irwin and Rafael
65 Laboissiere.
66
68 PLplot documentation at http://plplot.sourceforge.net/resources.
69
70
71
72 March, 2007 PLOT3D(3plplot)