SurfaceDensityPlot3D[f,p∈reg]
generates a density plot of f over the region reg as a function of p.


SurfaceDensityPlot3D
SurfaceDensityPlot3D[f,p∈reg]
generates a density plot of f over the region reg as a function of p.
Details

- SurfaceDensityPlot3D is also known as chloropleth map and thematic map.
- SurfaceDensityPlot3D uses color to associate numeric values with points on a region.
- SurfaceDensityPlot3D[f,p∈reg] makes a plot of the geometric region reg styled according to the values of f at the points p on reg.
- SurfaceDensityPlot3D has the same options as Graphics3D and Graphics, with the following additions and changes:
-
Axes True whether to draw axes BoundaryStyle Automatic how to style surface boundaries BoxRatios Automatic bounding 3D box ratios 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 PlotRange Automatic range of f or other values to include PlotTheme $PlotTheme overall theme for the plot WorkingPrecision MachinePrecision the precision used in internal computations - ColorFunction is by default supplied with the scaled value of f.

Examples
open all close allBasic Examples (2)
Scope (7)
Specification (2)
SurfaceDensityPlot3D works on 3D regions:
SurfaceDensityPlot3D works with MeshRegion:
Presentation (5)
Use PlotTheme to immediately get overall styling:
Use PlotLegends to get a color bar for the different values:
Control the display of axes with Axes:
Label axes using AxesLabel and the whole plot using PlotLabel:
Color the plot by the function values with ColorFunction:
Options (46)
Axes (3)
AxesLabel (4)
No axes labels are drawn by default:
Use specific labels for each axis:
Use labels based on variables specified in SurfaceDensityPlot3D:
AxesOrigin (2)
AxesStyle (3)
BoxRatios (2)
ColorFunction (3)
Color the slice surfaces according to the density values :
Use a named color gradient available in ColorData:
ColorFunctionScaling (2)
By default, scaled values are used:
Use ColorFunctionScalingFalse to get access to unscaled f values:
ImageSize (7)
Use named sizes such as Tiny, Small, Medium and Large:
Specify the width of the plot:
Specify the height of the plot:
Allow the width and height to be up to a certain size:
Specify the width and height for a graphic, padding with space if necessary:
Setting AspectRatioFull will fill the available space:
Use maximum sizes for the width and height:
Use ImageSizeFull to fill the available space in an object:
Specify the image size as a fraction of the available space:
PlotLegends (3)
Show a legend for the densities:
PlotLegends automatically matches the color function:
Control placement of the legend with Placed:
PlotRange (3)
Show All contours by default:
PlotTheme (3)
Use a theme with detailed grid lines, ticks, and legends:
Any option setting overrides PlotTheme settings, in this case removing face grids:
Ticks (6)
Ticks are placed automatically in each plot:
Use TicksNone to not draw any tick marks:
Place tick marks at specific positions:
Draw tick marks at the specified positions with the specified labels:
Specify tick marks with scaled lengths:
Customize each tick with position, length, labeling and styling:
Related Guides
History
Text
Wolfram Research (2025), SurfaceDensityPlot3D, Wolfram Language function, https://reference.wolfram.com/language/ref/SurfaceDensityPlot3D.html.
CMS
Wolfram Language. 2025. "SurfaceDensityPlot3D." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SurfaceDensityPlot3D.html.
APA
Wolfram Language. (2025). SurfaceDensityPlot3D. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SurfaceDensityPlot3D.html
BibTeX
@misc{reference.wolfram_2025_surfacedensityplot3d, author="Wolfram Research", title="{SurfaceDensityPlot3D}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/SurfaceDensityPlot3D.html}", note=[Accessed: 04-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_surfacedensityplot3d, organization={Wolfram Research}, title={SurfaceDensityPlot3D}, year={2025}, url={https://reference.wolfram.com/language/ref/SurfaceDensityPlot3D.html}, note=[Accessed: 04-August-2025]}