1PLMESH(3plplot) PLplot API PLMESH(3plplot)
2
3
4
6 plmesh - Plot surface mesh
7
9 plmesh(x, y, z, nx, ny, opt)
10
12 Plots a surface mesh within the environment set up by plw3d(3plplot).
13 The surface is defined by the matrix z[nx][ny] , the point z[i][j] be‐
14 ing the value of the function at (x[i], y[j]). Note that the points in
15 vectors x and y do not need to be equally spaced, but must be stored in
16 ascending order. The parameter opt controls the way in which the sur‐
17 face is displayed. For further details see the PLplot documentation.
18
19 Redacted form: plmesh(x, y, z, opt)
20
21 This function is used in example 11.
22
24 x (PLFLT_VECTOR(3plplot), input)
25 A vector containing the x coordinates at which the function is
26 evaluated.
27
28 y (PLFLT_VECTOR(3plplot), input)
29 A vector containing the y coordinates at which the function is
30 evaluated.
31
32 z (PLFLT_MATRIX(3plplot), input)
33 A matrix containing function values to plot. Should have dimen‐
34 sions of nx by ny.
35
36 nx (PLINT(3plplot), input)
37 Number of x values at which function has been evaluated.
38
39 ny (PLINT(3plplot), input)
40 Number of y values at which function has been evaluated.
41
42 opt (PLINT(3plplot), input)
43 Determines the way in which the surface is represented:
44 opt=DRAW_LINEX : Lines are drawn showing z as a function of x
45 for each value of y[j] . opt=DRAW_LINEY : Lines are drawn show‐
46 ing z as a function of y for each value of x[i] .
47 opt=DRAW_LINEXY : Network of lines is drawn connecting points at
48 which function is defined.
49
50
51
53 Many developers (who are credited at http://plplot.org/credits.php)
54 have contributed to PLplot over its long history.
55
57 PLplot documentation at http://plplot.org/documentation.php.
58
59
60
61 July, 2023 PLMESH(3plplot)