24.01.2015 Views

Mathematica Tutorial: Visualization And Graphics - Wolfram Research

Mathematica Tutorial: Visualization And Graphics - Wolfram Research

Mathematica Tutorial: Visualization And Graphics - Wolfram Research

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.

40 <strong>Visualization</strong> and <strong>Graphics</strong><br />

In[2]:=<br />

This shows the line as a two-dimensional graphics object.<br />

sawgraph = <strong>Graphics</strong>@sawlineD<br />

Out[2]=<br />

In[3]:=<br />

This redisplays the line, with axes added.<br />

Show@%, Axes -> TrueD<br />

1.0<br />

Out[3]=<br />

0.5<br />

-0.5<br />

-1.0<br />

2 3 4 5 6<br />

You can combine graphics objects that you have created explicitly from graphics primitives with<br />

ones that are produced by functions like Plot.<br />

This produces an ordinary <strong>Mathematica</strong> plot.<br />

In[4]:= Plot@Sin@Pi xD, 8x, 0, 6

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

Saved successfully!

Ooh no, something went wrong!