Basic Plotting
| Plot[f,{x,xmin,xmax}] | plot f as a function of x from xmin to xmax |
| Plot[f,{x,x0,x1,...,xk}] | plot f over a series of segments, potentially breaking the curve at each of the xi |
| Plot[{f1,f2,...},{x,xmin,xmax}] | plot several functions together |
Basic plotting functions.
This plots a graph of sin (x) as a function of x from 0 to 2 .
| Out[1]= |  |
|
You can plot functions that have singularities. Mathematica will try to choose appropriate scales.
| Out[2]= |  |
|
The singularities can be omitted from the plot by specifying them in the plot's range.
| Out[3]= |  |
|
You can give a list of functions to plot. A different color will automatically be used for each function.
| Out[4]= |  |
|
| Out[5]= |  |
|
Here is a plot of the solution.
| Out[6]= |  |
|