# Wolfram Language & System 10.3 (2015)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.
BUILT-IN WOLFRAM LANGUAGE SYMBOL

# SliceDensityPlot3D

SliceDensityPlot3D[f,surf,{x,xmin,xmax},{y,ymin,ymax},{z,zmin,zmax}]
generates a density plot of f over the slice surface surf as a function of x, y, and z.

SliceDensityPlot3D[f,surf,{x,y,z}reg]
restricts the surface to be within region reg.

SliceDensityPlot3D[f,{surf1,surf2,},]
generates density plots over several slices.

## Details and OptionsDetails and Options

• The following basic slice surfaces can be given:
•  Automatic automatically determine slice surfaces "CenterPlanes" coordinate planes through the center "BackPlanes" coordinate planes at the back of the plot "XStackedPlanes" coordinate planes stacked along axis "YStackedPlanes" coordinate planes stacked along axis "ZStackedPlanes" coordinate planes stacked along axis "DiagonalStackedPlanes" planes stacked diagonally "CenterSphere" a sphere in the center "CenterCutSphere" a sphere with a cutout wedge "CenterCutBox" a box with a cutout octant
• SliceDensityPlot3D[f,{x,xmin,xmax},] is equivalent to SliceDensityPlot3D[f,Automatic,{x,xmin,xmax},] etc.
• The following parametrizations can be used for basic slice surfaces:
•  {"XStackedPlanes",n}, generate n equally spaced planes {"XStackedPlanes",{x1,x2,…}} generate planes for {"CenterCutSphere",ϕopen} cut angle facing the view point {"CenterCutSphere",ϕopen,ϕcenter} cut angle with center angle in plane
• , follow the specifications for , with additional features shown in the scope examples.
• The following general slice surfaces can be used:
•  expr0 implicit equation in x, y, and z, e.g. surfaceregion a two-dimensional region in 3D, e.g. Hyperplane volumeregion a three-dimensional region in 3D where is taken as the boundary surface, e.g. Cuboid
• The following wrappers can be used for slice surfaces :
•  Annotation[surf,label] provide an annotation Button[surf,action] define an action to execute when the surface is clicked EventHandler[surf,…] define a general event handler for the surface Hyperlink[surf,uri] make the surface act as a hyperlink PopupWindow[surf,cont] attach a popup window to the surface StatusArea[surf,label] display in status area when the surface is moused over Tooltip[surf,label] attach an arbitrary tooltip to the surface
• SliceDensityPlot3D has the same options as Graphics3D, with the following additions and changes:
•  Axes True whether to draw axes BoundaryStyle Automatic how to style surface boundaries BoxRatios {1,1,1} bounding 3D box ratios ClippingStyle None how to draw values clipped by PlotRange ColorFunction Automatic how to color the plot ColorFunctionScaling True whether to scale the arguments to ColorFunction PerformanceGoal \$PerformanceGoal aspects of performance to optimize PlotLegends None legends for color gradients PlotPoints Automatic initial number of samples for the function f and slice surfaces in each direction PlotRange {Full,Full,Full,Automatic} range of f or other values to include PlotTheme \$PlotTheme overall theme for the plot RegionFunction (True&) how to determine whether a point should be included TargetUnits Automatic desired units to use WorkingPrecision MachinePrecision the precision used in internal computations
• ColorFunction is by default supplied with the scaled value of f.
• RegionFunction is by default supplied with x, y, z and f.

## ExamplesExamplesopen allclose all

### Basic Examples  (2)Basic Examples  (2)

Plot the density of on coordinate planes through the center of the plot range:

 Out[1]=

Plot the density on the surface :

 Out[1]=