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


Updated In 6 Graphic
generates a three-dimensional plot of a surface representing an array of height values.
ListPlot3D[{{x1, y1, z1}, {x2, y2, z2}, ...}]
generates a plot of the surface with heights zi at positions {xi, yi}.
ListPlot3D[{data1, data2, ...}]
plots the surfaces corresponding to each of the datai.
AxesTruewhether to draw axes
BoundaryStyleAutomatichow to draw boundary lines for surfaces
BoxRatios{1,1,0.4}bounding 3D box ratios
ClippingStyleAutomatichow to draw clipped parts of the surface
ColorFunctionAutomatichow to determine the color of surfaces
ColorFunctionScalingTruewhether to scale arguments to ColorFunction
DataRangeAutomaticthe range of x and y values to assume for data
FillingNonefilling under the surface
FillingStyleOpacity[0.5]style to use for filling
InterpolationOrderNonethe polynomial degree in each variable of surfaces used in joining data points
MaxPlotPointsAutomaticthe maximum number of points to include
MeshAutomatichow many mesh lines in each direction to draw
MeshFunctions{#1&,#2&}how to determine the placement of mesh lines
MeshShadingNonehow to shade regions between mesh lines
MeshStyleAutomaticthe style for mesh lines
MethodAutomaticthe method to use for interpolation and data reduction
NormalsFunctionAutomatichow to determine effective surface normals
PerformanceGoal$PerformanceGoalaspects of performance to try to optimize
PlotRange{Full,Full,Automatic}the range of z or other values to include
PlotRangePaddingAutomatichow much to pad the range of values
PlotStyleAutomaticgraphics directives to specify the style for the surface
RegionFunction(True&)how to determine whether a point should be included
VertexColorsAutomaticcolors to assume at each point
VertexNormalsAutomaticeffective normals to assume at each point
  • In ListPlot3D[array], array must be a rectangular array. Each element can be either a single real number representing a z value, or an {x,y,z} triple.
  • There will be holes in the surface corresponding to array elements that do not represent explicit height values.
  • ListPlot3D[array] by default takes the x and y coordinate values for each data point to be successive integers starting at 1.
  • The elements of array can also be triples {x11, y11, z11}, specifying heights zij at explicit positions {xij, yij}. The connectivity of the surface in this case is still taken to follow the 2D array.
  • In the default case with no explicit x and y given, the setting DataRange->{{xmin, xmax}, {ymin, ymax}} specifies the ranges of coordinate values to use.
  • With the default setting DataRange->Automatic, ListPlot3D[{{a11, a12, a13}, ..., {an1, an2, an3}}] will assume that the data being given is {{x1, y1, z1}, ...}, rather than an n×3 array of height values.
  • For ListPlot3D[array], Mesh->Full draws a mesh that crosses at the position of each data point.
  • The setting for VertexColors must be an array or list with the same structure as the coordinate data.
New in 1 | Last modified in 6