RegionPlot

RegionPlot[pred,{x,xmin,xmax},{y,ymin,ymax}]

makes a plot showing the region in which pred is True.

Details and Options

Examples

open allclose all

Basic Examples  (5)

Plot a region defined by an inequality:

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

Plot a region defined by logical combinations of inequalities:

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

Plot disconnected regions:

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

Use legends:

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

Style the region:

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

Scope  (13)

Options  (51)

Applications  (8)

Properties & Relations  (8)

Possible Issues  (2)

Neat Examples  (2)

See Also

ContourPlot  DensityPlot  RegionPlot3D  RegionFunction  ParametricPlot  Reduce  FindInstance  Boole

Introduced in 2007
(6.0)
| Updated in 2014
(10.0)