12.07.2015 Views

Learning Guide Learning Guide

Learning Guide Learning Guide

Learning Guide Learning Guide

SHOW MORE
SHOW LESS
  • No tags were found...

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

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

108 • Chapter 4: Graphics54321–2 –1 0 1 2x–1This technique also works for parametrized plots.> plot( [ [ 2*cos(t), sin(t), t=0..2*Pi ],> [ t^2, t^3, t=-1..1 ] ], scaling=constrained );10.5–2 –1 1 2–0.5–1Using different line styles, such as solid, dashed, or dotted, is convenientfor distinguishing between several graphs in the same plot. Thelinestyle option controls this. Use linestyle=SOLID for the first function,sin(x)/x, and linestyle=DOT for the second function, cos(x)/x.> plot( [ sin(x)/x, cos(x)/x ], x=0..8*Pi, y=-0.5..1.5,> linestyle=[SOLID,DOT] );

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

Saved successfully!

Ooh no, something went wrong!