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.

a := plot( sin(x), x=-Pi..Pi ):5.6 Special Types of Plots • 137> b := textplot( [ Pi/2, 1.25, "Local Maximum" ] ):> c := textplot( [ -Pi/2, -1.25, "Local Minimum" ] ):> g := textplot( [ Pi/2, 1, "X" ] ):> h := textplot( [ -Pi/2, -1, "X" ] ):> display( [a,b,c,g,h] );1Local MaximumX0.5–3 –2 –1 0 1 2 3x–0.5X –1Local MinimumFor details on controlling the placement of text, refer to the ?plots,textplothelp page. To specify the font for textplot and textplot3d, use the fontoption. In the following plot, the origin, a saddle point, is labelled P .> d := plot3d( x^2-y^2, x=-1..1, y=-1..1 ):> e := textplot3d( [0, 0, 0, "P"],> font=[HELVETICA, OBLIQUE, 22], color=white ):> display( [d,e], orientation=[68,45] );P5.6 Special Types of PlotsThe plots package contains many routines for producing special typesof graphics. This section provides example commands for plotting thefollowing.

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

Saved successfully!

Ooh no, something went wrong!