This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Documentation / Mathematica / Built-in Functions / Graphics and Sound / 3D Plots /

Plot3D

FilledSmallSquare Plot3D[f, x, xmin, xmax, y, ymin, ymax] generates a three-dimensional plot of f as a function of x and y.

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

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

FilledSmallSquare Plot3D has the same options as SurfaceGraphics, with the following additions:

FilledSmallSquare Plot3D has the default option setting Axes -> True.

FilledSmallSquare Plot3D returns a SurfaceGraphics object.

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

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

FilledSmallSquare The shading function s must yield GrayLevel, Hue or RGBColor directives, or SurfaceColor objects.

FilledSmallSquare Plot3D includes a setting for the MeshRange option in the SurfaceGraphics object it returns.

FilledSmallSquare See Section 1.9.6.

FilledSmallSquare See also: ListPlot3D, ContourPlot, DensityPlot, Graphics3D.

FilledSmallSquare New in Version 1.

Further Examples