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


RegionPlot[pred, {x, xmin, xmax}, {y, ymin, ymax}]
makes a plot showing the region in which pred is True.
  • The predicate pred can be any logical combination of inequalities.
  • The region plotted by RegionPlot can contain disconnected parts.
  • By default, the interior of each part is shown in gray, with a black line as its boundary.
AspectRatio1ratio of height to width
BoundaryStyleAutomaticthe style for the boundary of each region
ColorFunctionAutomatichow to color the interior of each region
ColorFunctionScalingTruewhether to scale the argument to ColorFunction
EvaluationMonitorNoneexpression to evaluate at every function evaluation
FrameTruewhether to draw a frame around the plot
MaxRecursionAutomaticthe maximum number of recursive subdivisions allowed
MeshNonehow many mesh lines to draw
MeshFunctions{#1&,#2&}what mesh lines to draw
MeshShadingNonehow to shade regions between mesh lines
MeshStyleAutomaticthe style for mesh lines
MethodAutomaticthe method to use for refining regions
PerformanceGoal$PerformanceGoalaspects of performance to try to optimize
PlotPointsAutomaticinitial number of sample points
PlotRangeFullthe range of values to include in the plot
PlotRangeClippingTruewhether to clip at the plot range
PlotRangePaddingAutomatichow much to pad the range of values
PlotStyleAutomaticgraphics directives to specify the style for regions
WorkingPrecisionMachinePrecisionthe precision used in internal computations
  • RegionPlot initially evaluates pred at a grid of equally spaced sample points specified by PlotPoints. Then it uses an adaptive algorithm to subdivide at most MaxRecursion times, attempting to find the boundaries of all regions in which pred is True.
  • You should realize that since it uses only a finite number of sample points, it is possible for RegionPlot to miss regions in which pred is True. To check your results, you should try increasing the settings for PlotPoints and MaxRecursion.
  • With the default setting PlotRange->Full, RegionPlot will explicitly include the full ranges xmin to xmax and ymin to ymax for x and y.
  • With Mesh->All, RegionPlot will explicitly draw mesh lines to indicate the subdivisions it used to find each region.
  • RegionPlot can in general only find regions of positive measure; it cannot find regions that are just lines or points.
New in 6