plwf (z [, y, x] [, <keylist>] )
plwf accepts the following keyword arguments:
fill, shade, edges, ecolor, ewidth, cull, scale, cmax A description of the keywords follows: fill: optional colors to use (default is to make zones have background color), same dimension options as for z argument to plf function, i. e., it should be the same dimension as the mesh (vertex-centered values) or one smaller in each dimension (cell-centered values).
The following example computes the information for a surface with a peak and a valley, and then plots the resulting wire frame with various options. In the first case, we see simply an opaque wire frame.
set_draw3_(0)
x = span (-1, 1, 64, 64)
y = transpose (x)
z = (x + y) * exp (-6.*( x* x+ y* y))
orient3 ( )
light3 ( )
plwf (z, y, x)
[xmin, xmax, ymin, ymax] = draw3( 1)
limits (xmin, xmax, ymin, ymax)
plt(" opaque wire mesh", .30, .42)
Next, we see the same surface shaded from a default light source (roughly over the viewer's right shoulder) and with the mesh lined in red.
plwf( z, y, x, shade= 1, ecolor=" red") [xmin, xmax, ymin, ymax] = draw3( 1) limits (xmin, xmax, ymin, ymax)
Finally, the following sequence plots the same surface with no edges, and with lighting coming from the back.
plwf( z, y, x, shade= 1, edges= 0) light3 ( diffuse=. 1, specular= 1., sdir= array([ 0,0,-1])) [xmin, xmax, ymin, ymax] = draw3( 1) limits (xmin, xmax, ymin, ymax)