This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

RegionFunction

RegionFunction
is an option for plotting functions which specifies the region to include in the plot drawn.
  • The setting RegionFunction->r specifies that a point should be included in the region when r[args] 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:
New in 6