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...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

In[5]:=<br />

Setting the AspectRatio option changes the whole shape of your plot. AspectRatio gives<br />

the ratio of width to height. Its default value is the inverse of the Golden Ratio~supposedly the<br />

most pleasing shape for a rectangle.<br />

Plot@Sin@x^2D, 8x, 0, 3 1D<br />

1.0<br />

0.5<br />

Out[5]=<br />

0.5 1.0 1.5 2.0 2.5 3.0<br />

-0.5<br />

-1.0<br />

Automatic<br />

None<br />

All<br />

True<br />

False<br />

use internal algorithms<br />

do not include this<br />

include everything<br />

do this<br />

do not do this<br />

Some common settings for various options.<br />

When <strong>Mathematica</strong> makes a plot, it tries to set the x and y scales to include only the<br />

“interesting” parts of the plot. If your function increases very rapidly, or has singularities, the<br />

parts where it gets too large will be cut off. By specifying the option PlotRange, you can control<br />

exactly what ranges of x and y coordinates are included in your plot.<br />

Automatic<br />

All<br />

8y min ,y max <<br />

8xrange,yrange<<br />

show at least a large fraction of the points, including the<br />

“interesting” region (the default setting)<br />

show all points<br />

show a specific range of y values<br />

show the specified ranges of x and y values<br />

Settings for the option PlotRange.

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

Saved successfully!

Ooh no, something went wrong!