Plot3D[f, x, xmin, xmax, y, ymin, ymax] generates a three-dimensional plot of f as a function of x and y.
Plot3D[f, s, x, xmin, xmax, y, ymin, ymax] generates a three-dimensional plot in which the height of the surface is specified by f, and the shading is specified by s.
Plot3D evaluates its arguments in a non-standard way (see Section A.4.2). You should use Evaluate to evaluate the function to be plotted if this can safely be done before specific numerical values are supplied.
Plot3D has the same options as SurfaceGraphics, with the following additions:
Plot3D has the default option setting Axes -> True.
Plot3D returns a SurfaceGraphics object.
The function f should give a real number for all values of x and y at which it is evaluated. There will be holes in the final surface at any values of x and y for which f does not yield a real number value.
If Lighting->False and no shading function s is specified, the surface is shaded according to height. The shading is determined by the option ColorFunction; the default is gray levels.
The shading function s must yield GrayLevel, Hue or RGBColor directives, or SurfaceColor objects.
Plot3D includes a setting for the MeshRange option in the SurfaceGraphics object it returns.
See The Mathematica Book: Section 1.9.7.
See also: ListPlot3D, ContourPlot, DensityPlot, Graphics3D.