This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
 Built-in Mathematica Symbol Tutorials »| See Also »| More About »

# ListDensityPlot

 ListDensityPlot[array]generates a smooth density plot from an array of values. ListDensityPlot[{{x1, y1, f1}, {x2, y2, f2}, ...}]generates a density plot with values defined at specified points.
• ListDensityPlot[array] arranges successive rows of array up the page, and successive columns across.
• ListDensityPlot linearly interpolates values so as to give smooth shading.
• ListDensityPlot is mainly intended for discrete samplings of continuous data; ArrayPlot is intended for purely discrete data.
• ListDensityPlot by default generates output in which larger values are shown lighter.
 AspectRatio 1 ratio of height to width BoundaryStyle None how to draw RegionFunction boundaries ClippingStyle None how to draw values clipped by PlotRange ColorFunction Automatic how to color the plot ColorFunctionScaling True whether to scale the argument to ColorFunction DataRange Automatic the range of x and y values to assume for data Frame True whether to draw a frame around the plot FrameTicks Automatic frame tick marks InterpolationOrder None the polynomial degree in each variable of the interpolated density between data points MaxPlotPoints Automatic the maximum number of points to include Mesh None how many mesh lines in each direction to draw MeshFunctions {#1&,#2&} how to determine the placement of mesh lines MeshStyle Automatic the style for mesh lines Method Automatic the method to use for interpolation and data reduction PerformanceGoal \$PerformanceGoal aspects of performance to try to optimize PlotRange {Full,Full,Automatic} the range of f or other values to include PlotRangePadding Automatic how much to pad the range of values PlotRangeClipping True whether to clip at the plot range RegionFunction (True&) how to determine whether a point should be included VertexColors Automatic colors to assume at every point
• array should be a rectangular array of real numbers; holes will be left in the plot whenever there are elements that are not real numbers.
• ListDensityPlot[array] by default takes the x and y coordinate values for each data point to be successive integers starting at 1.
• The setting DataRange->{{xmin, xmax}, {ymin, ymax}} specifies other ranges of coordinate values to use.
• With the default setting , ListDensityPlot[{{a11, a12, a13}, ..., {an1, an2, an3}}] will assume that the data being given is {{x1, y1, f1}, ...}, rather than an array of values.
• ColorFunction is supplied with a single argument, given by default by the scaled value of f.
• The setting for VertexColors must be an array or list with the same structure as the array or list of values.
Use an array of values to define heights for a density:
 Out[1]=

Give explicit coordinates for points in a density:
 Out[1]=
A larger set of , , samples:
 Out[3]=

Use different interpolations of data:
 Out[2]=
 Scope   (12)
 Options   (45)
 Applications   (4)
New in 1 | Last modified in 6