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 Options

Examples

open allclose all

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]=

Scope  (27)

Options  (106)

Applications  (17)

Properties & Relations  (7)

Neat Examples  (1)

See Also

ListLinePlot  DiscretePlot  ParametricPlot  LogPlot  LogLinearPlot  LogLogPlot  PolarPlot  Plot3D  ContourPlot  Graphics  Show

Tutorials

Introduced in 1988
(1.0)
| Updated in 2016
(11.0)