This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 Documentation / Mathematica / Built-in Functions / Graphics and Sound / 3D Plots  /
ListPlot3D

  • ListPlot3D[ array ] generates a three-dimensional plot of a surface representing an array of height values.
  • ListPlot3D[ array , shades ] generates a plot with each element of the surface shaded according to the specification in shades.
  • ListPlot3D returns a SurfaceGraphics object.
  • ListPlot3D has the same options as SurfaceGraphics.
  • ListPlot3D has the default option setting Axes -> True.
  • array should be a rectangular array of real numbers, representing values. There will be holes in the surface corresponding to any array elements that are not real numbers.
  • If array has dimensions , then shades must have dimensions .
  • The elements of shades must be either GrayLevel, Hue or RGBColor, or SurfaceColor objects.
  • See the Mathematica book: Section 1.9.9.
  • See also: Plot3D.
  • Related package: Graphics`Graphics3D`, DiscreteMath`ComputationalGeometry`.

    Further Examples

    Here is a 3D plot made from a perturbed list of data.

    Evaluate the cell to see the graphic.

    In[1]:=