MuPAD Pro Computing Essentials, 2nd Edition

Example 7.2 Using VCam to improve a 3D graph

This is another example that needs VCam and chapter 7. There is not much be put on the web page.

First attempt

 
FExp := plot::Function3d((x^2 - y^2)*exp(-x^2 - y^2)):
plot(FExp)
 


Second attempt

 
FExp := plot::Function3d(
   8*(x^2 - y^2)*exp(-x^2 - y^2), x=-3..3, y=-3..3
):
PL := plot::Function3d(1.5, x=-3..3, y=-3..3):
 
plot(FExp, PL)

And after modifications in VCam we get.  Observe, the code was modified to get better graph in constrained mode.  At the time of developing this page JavaView did not have unconstrained mode like MuPAD and other CAS. Scaling JavaView axes was implemented in November 2004.

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