MuPAD Pro Computing Essentials, 2nd Edition

Example 8.12 Class Implicit3d

Implicit plot in 3D is the most difficult and time consuming. Here I show example 8.11 from my book with the Kummer surface plot. In order to produce JavaView model I had to make smaller Mesh values in my plot.
 

Kummer := x^2*y^2 + y^2*z^2 + z^2*x^2 - 1:

KummerColor := (x,y,z) -> [
   max(0,sin(2*x)), 
   max(0,cos(2*y)), 
   max(0,sin(2*z))
]:
 
KummerSurf := plot::Implicit3d(
   Kummer, x = -3..3, y = -3..3, z = -3..3, 
   Mesh = [15,15,15],
   FillColorFunction = KummerColor,
   MeshVisible = TRUE
):
 
MyCam := plot::Camera([10,10,10],[0,0,0.3],PI/10):
 
plot(KummerSurf, MyCam, 
   Scaling = Constrained, 
   Axes = None
)
 
Loading sample geometry.

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 >>


© Miroslaw Majewski, Abu Dhabi,  Update  26-10-2004