DensityPlot3D

DensityPlot3D[f,{x,xmin,xmax},{y,ymin,ymax},{z,zmin,zmax}]

makes a density plot of f as a function of x, y, and z.

DensityPlot3D[f,{x,y,z}reg]

takes the variables to be in the geometric region reg.

Details and Options

Examples

open allclose all

Basic Examples  (3)

Plot a 3D function:

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

Plot a function over a ball:

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

Use a different color scheme and legend:

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

Scope  (12)

Options  (41)

Applications  (17)

Properties & Relations  (5)

See Also

ListDensityPlot3D  ContourPlot3D  DensityPlot  SliceDensityPlot3D  SliceContourPlot3D

Introduced in 2015
(10.2)