plmeshc
( | x , |
| y , | |
| z , | |
| nx , | |
| ny , | |
| opt , | |
| clevel , | |
nlevel
); |
A more powerful form of :
the surface mesh can be colored accordingly to the current z value being plotted,
a contour plot can be drawn at the base XY plane, and a curtain can be drawn between
the plotted function border and the base XY plane.
plmesh
x
(PLFLT_VECTOR, input)
A vector containing the x coordinates at which the function is evaluated.
y
(PLFLT_VECTOR, input)
A vector containing the y coordinates at which the function is evaluated.
z
(PLFLT_MATRIX, input)
A matrix containing function values to plot. Should have
dimensions of nx by ny.
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. To specify more than one option just add the options, e.g. DRAW_LINEXY + MAG_COLOR
: 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
: Each line
in the mesh is colored according to the z value being plotted. The
color is used from the current cmap1.
opt=MAG_COLOR
: A contour
plot is drawn at the base XY plane using parameters
opt=BASE_CONT
nlevel and clevel.
: draws a curtain
between the base XY plane and the borders of the plotted function.
opt=DRAW_SIDES
clevel
(PLFLT_VECTOR, input)
A vector containing the contour levels.
nlevel
(PLINT, input)
Number of elements in the clevel vector.
Redacted form: plmeshc(x, y, z, opt, clevel)
This function is used in example 11.