Mathematica > Visualization and Graphics > Graphics Options & Styling > Plotting Options > RegionFunction >

RegionFunction

RegionFunction
is an option for plotting functions that specifies the region to include in the plot drawn.
  • The setting RegionFunction->r specifies that a point should be included in the region when yields True.
  • The arguments supplied to r are as follows:
Plot and ListLinePlotx , y
ParametricPlotx, y, u or x, y, u, v
RegionPlotx, y
ContourPlot and ListContourPlotx, y, f
DensityPlot and ListDensityPlotx, y, f
ContourPlot3D and ListContourPlot3Dx, y, z, f
Plot3D, ListPlot3D and ListSurfacePlot3Dx, y, z
ParametricPlot3Dx, y, z, u or x, y, z, u, v
RegionPlot3Dx, y, z
  • Adaptive refinement is typically used to determine the boundaries of the region specified by RegionFunction.
Plot over an annulus region:
Region cuts in the radial direction:
Plot over an annulus region:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
 
Region cuts in the radial direction:
In[1]:=
Click for copyable input
Out[1]=
New in 6
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF