11.07.2015 Views

Maple 9 Learning Guide - Maplesoft

Maple 9 Learning Guide - Maplesoft

Maple 9 Learning Guide - Maplesoft

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

106 • Chapter 5: PlottingParametric PlotsYou cannot specify some graphs explicitly. In other words, you cannotwrite the dependent variable as a function, y = f(x). For example, on acircle most x values correspond to two y values. One solution is to makeboth the x-coordinate and the y-coordinate functions of some parameter,for example, t. The graph generated from these functions is called aparametric plot. Use this syntax to specify parametric plots.plot( [ x-expr, y-expr, parameter=range ] )Plot a list containing the x-expr, the y-expr, and the name and range ofthe parameter. For example> plot( [ t^2, t^3, t=-1..1 ] );10.500.2 0.4 0.6 0.8 1–0.5–1The points (cos t, sin t) lie on a circle.> plot( [ cos(t), sin(t), t=0..2*Pi ] );10.5–1 –0.5 0.5 1–0.5–1The above plot resembles an ellipse because <strong>Maple</strong>, by default, scalesthe plot to fit the window. Here is the same plot again but with

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!