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.

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

If you give a list of graphics elements in two dimensions, <strong>Mathematica</strong> simply draws each<br />

element in turn, with later elements obscuring earlier ones. In three dimensions, however,<br />

<strong>Mathematica</strong> collects together all the graphics elements you specify, then displays them as<br />

three-dimensional objects, with the ones in front in three-dimensional space obscuring those<br />

behind.<br />

In[5]:=<br />

Every time you evaluate rantri, it generates a random triangle in three-dimensional space.<br />

rantri := Polygon@Table@rcoord, 83

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

Saved successfully!

Ooh no, something went wrong!