Plot

Plot[f,{x,xmin,xmax}]
generates a plot of f as a function of x from xmin to xmax.

Plot[{f1,f2,},{x,xmin,xmax}]
plots several functions fi.

Plot[{,w[fi],},]
plots fi with features defined by the symbolic wrapper w.

Plot[,{x}reg]
takes the variable x to be in the geometric region reg.

Details and OptionsDetails and Options

ExamplesExamplesopen allclose all

Basic Examples  (5)Basic Examples  (5)

Plot a function:

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

Plot several functions with a legend:

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

Label each curve:

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

Fill below a curve:

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

Fill between two curves:

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

Plot multiple filled curves, automatically using transparent colors:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 1988
(1.0)
| Updated in 2016
(11.0)
Translate this page: