SliceContourPlot3D

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

generates a contour plot of f over the slice surface surf as a function of x, y, and z.

SliceContourPlot3D[f,surf,{x,y,z}reg]

restricts the surface to be within region reg.

SliceContourPlot3D[f,{surf1,surf2,},]

generates contour plots over several slices.

Details and Options

  • The following basic slice surfaces surfi can be given:
  • Automaticautomatically determine slice surfaces
    "CenterPlanes"coordinate planes through the center
    "BackPlanes"coordinate planes at the back of the plot
    "XStackedPlanes"coordinate planes stacked along the axis
    "YStackedPlanes"coordinate planes stacked along the axis
    "ZStackedPlanes"coordinate planes stacked along the 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
  • SliceContourPlot3D[f,{x,xmin,xmax},] is equivalent to SliceContourPlot3D[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 ϕopen facing the view point
    {"CenterCutSphere",ϕopen,ϕcenter}cut angle ϕopen with center angle ϕcenter in the plane
  • "YStackedPlanes", "ZStackedPlanes" follow the specifications for "XStackedPlanes", with additional features shown in the scope examples.
  • The following general slice surfaces surfi can be used:
  • expr0implicit equation in x, y, and z, e.g. x y z-10
    surfaceregiona two-dimensional region in 3D, e.g. Hyperplane
    volumeregiona three-dimensional region in 3D where surfi is taken as the boundary surface, e.g. Cuboid
  • The following wrappers can be used for slice surfaces surfi:
  • 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
  • SliceContourPlot3D has the same options as Graphics3D, with the following additions and changes:
  • AxesTruewhether to draw axes
    BoundaryStyleAutomatichow to style surface boundaries
    BoxRatios{1,1,1}bounding 3D box ratios
    ClippingStyleNonehow to draw values clipped by PlotRange
    ColorFunctionAutomatichow to color the plot
    ColorFunctionScalingTruewhether to scale the arguments to ColorFunction
    ContoursAutomatichow many or what contours to show
    ContourShadingAutomatichow to shade regions between contours
    ContourStyleAutomaticthe style for contour lines
    PerformanceGoal$PerformanceGoalaspects of performance to optimize
    PlotLegendsNonelegends for color gradients
    PlotPointsAutomaticinitial number of samples for the function f and slice surfaces surfi in each direction
    PlotRange{Full,Full,Full,Automatic}range of f or other values to include
    PlotTheme$PlotThemeoverall theme for the plot
    RegionFunction(True&)how to determine whether a point should be included
    TargetUnitsAutomaticdesired units to use
    WorkingPrecisionMachinePrecisionthe 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.

Examples

open allclose all

Basic Examples  (2)

Plot the contours of the function over slice planes through the center:

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

Plot the contours over the surface :

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

Scope  (22)

Options  (45)

Applications  (17)

Properties & Relations  (5)

Possible Issues  (1)

See Also

ListSliceContourPlot3D  SliceDensityPlot3D  ContourPlot  ContourPlot3D

Introduced in 2015
(10.2)