RegionPlot

RegionPlot[pred,{x,xmin,xmax},{y,ymin,ymax}]
makes a plot showing the region in which pred is True.

Details and OptionsDetails and Options

ExamplesExamplesopen allclose all

Basic Examples  (5)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]=
Introduced in 2007
(6.0)
| Updated in 2014
(10.0)