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.

Details and OptionsDetails and Options

ExamplesExamplesopen allclose all

Basic Examples (3)Basic Examples (3)

Use an array of values to define heights for a density:

In[1]:=
Click for copyable input
Out[1]=

Give explicit , , coordinates for points in a density:

In[1]:=
Click for copyable input
Out[1]=

A larger set of , , samples:

In[2]:=
Click for copyable input
In[3]:=
Click for copyable input
Out[3]=

Use different interpolations of data:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
New in 1 | Last modified in 9
New to Mathematica? Find your learning path »
Have a question? Ask support »