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.

Scaling <strong>the</strong> Grid<br />

You can scale <strong>the</strong> grid as follows.<br />

\ b e g i n { c e n t e r }<br />

\ b e g i n { t i k z p i c t u r e } [ scale=0.5 ]<br />

\ draw [ gray ] (−5,−5) g r i d ( 5 , 5 ) ;<br />

\ draw[, l i n e width=1pt ] ( −5 ,0) −−(5,0) node [ r i g h t<br />

] { $ x $ } ;<br />

\ draw[, l i n e width=1pt ] (0 , −5) −−(0,5) node [ above<br />

] { $ y $ } ;<br />

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

\ end { c e n t e r }<br />

After you enter <strong>the</strong> scaling adjustment, recompile workshop8.tex.<br />

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

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

Saved successfully!

Ooh no, something went wrong!