Mathematical Principles for Scientific Computing and Visualization  
http://www.farinhansford.com/books/scv
by Gerald Farin and Dianne Hansford

This notebook demonstrates plotting of trivariate functions: w = f(x,y,z).
One must choose the domain over which to evaluate -- min and max x and y values.
An effective way to visualize a trivariate function is with a contour plot.

Play with the number of contour levels computed: Contours.

Figure 11.14 was created with this notebook.

See Chapter 11: Computing with Multivariate Functionsfor details.


Updated May 2008

(* Set the output folder to be the one in which this files lives *)

SetDirectory[ToFileName[Extract["FileName"/.NotebookInformation[EvaluationNotebook[]],{1},FrontEnd`FileName]]];

(* Use a contour plot to visualize *)

pic=ContourPlot3D[0.3*Sin[8x]Sin[8y]Sin[8z],{x,-.8,.8},{y,-.8,.8},{z,-.8,.8},Contours->5,  ViewPoint->{0.7,-1,1}]

(* Output the plot to a postscript file *)
(* Export["contours3D.eps",pic] *)