12.06.2013 Views

Using TIKZ - College of the Redwoods

Using TIKZ - College of the Redwoods

Using TIKZ - College of the Redwoods

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.

The Ideal Domain<br />

Use <strong>the</strong> results from MATLAB to set domain=-2.4567:2.4567.<br />

\ b e g i n { t i k z p i c t u r e }<br />

\ draw [ h e l p l i n e s ] (−5,−5) g r i d ( 5 , 5 ) ;<br />

\ draw [ t h i c k ,] ( −5 ,0) −−(5,0) node [ r i g h t ] {$ x $ } ;<br />

\ draw [ t h i c k ,] (0 , −5) −−(0,5) node [ above ] {$ y $ } ;<br />

\ draw [ t h i c k , blue , domain=-2.4567:2.4567 ] p l o t (\ x , { \ x ∗(\<br />

x+2) ∗(\ x −2) }) ;<br />

\ end { t i k z p i c t u r e }<br />

Recompile workshop10.tex and note <strong>the</strong> difference.<br />

David Arnold (CR) <strong>Using</strong> <strong>TIKZ</strong> November 20, 2010 15 / 24

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

Saved successfully!

Ooh no, something went wrong!