Skip to main content

Exploring Calculus with Maple Introductory Calculus

Section 8.1 Plotting a Single Function

You can plot a function in Maple by using the plot() command. The only required parameter is the function you wish to plot. However, there are many additional parameters you can add to customize the way that the graph looks.

Aside

> plot( sin( cos(x) ) );
It is often useful to specify the interval for the \(x\)-axis. Choose left and right endpoints for the \(x\)-axis that are appropriate for your graph.

Aside

> plot(sin(cos(x)), x=-10..10);
The order of the parameters in the plot() command is important. The interval for the \(x\)-axis must be listed before the interval for the \(y\)-axis.
You can also specify the interval for the \(y\)-axis for your graph.
> plot(sin(cos(x)), x=-10..10, y=-5..5);