plmesh
( | x, |
| y, | |
| z, | |
| nx, | |
| ny, | |
opt); |
Plots a surface mesh within the environment set up by plw3d. The
surface is defined by the two-dimensional array
,
the point z[nx][ny] being the
value of the function at z[i][j](. Note that the points in
arrays x[i],
y[j]) and
x do not need to be equally
spaced, but must be stored in ascending order. The parameter
y controls the way in
which the surface is displayed. For further details see the section called “Three Dimensional Surface Plots”.
opt
x
(const PLFLT *, input)
Pointer to set of x coordinate values at which the function is evaluated.
y
(const PLFLT *, input)
Pointer to set of y coordinate values at which the function is evaluated.
z
(const PLFLT * const *, input)
Pointer to a vectored two-dimensional array with set of function values.
nx
(PLINT, input)
Number of values at
which function is evaluated.
x
ny
(PLINT, input)
Number of values at
which function is evaluated.
y
opt
(PLINT, input)
Determines the way in which the surface is represented:
: Lines
are drawn showing
opt=DRAW_LINEX as a function
of z for each
value of x.
y[j]
: Lines
are drawn showing
opt=DRAW_LINEY as a function
of z for each
value of y.
x[i]
: Network
of lines is drawn connecting points at which function is
defined.
opt=DRAW_LINEXY
Redacted form: plmesh(x, y, z, opt)
This function is used in example 11.