Example 8.6 Class Function3d
Class Function3d represents first and the most important 3D plot. In order to
develop this example in JavaView I used here Constrained scaling and Submesh=[1,1].
g:=(x,y,z)->[abs(sin(PI-x)),abs(sin(PI-y)),abs(sin(z))]:
funSin := plot::Function3d(
sin(y^2 + x^2), x = -3..3, y = -3..3,
FillColorFunction = g,
Submesh = [1,1],
XLinesVisible = FALSE,
YLinesVisible = FALSE
):
MyCamera := plot::Camera(
[0,5,10], [0,0,0], PI/5
):
plot(
funSin, MyCamera, Scaling=Constrained
)
|
|
JavaView Display
Use the mouse pointer to rotate
the graphics. Right click on the picture will open a
menu where we can select rotations, scaling, moving
and a few other options.
More features of this graphics
can be examined using full
JavaView applet >> |
|