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