The Student's Introduction to MATHEMATICA: A Handbook for Precalculus, Calculus, and Linear Algebra

Many of Mathematica s commands accept option settings; you can type additional arguments into a command to modify the behavior of that command. In this section we ll see how to tweak the Plot command so that you get the most out of your graphs. For example, here is the plot of the function
:
<span class="inlinemediaobject"><a NAME="IMG_100"> href="portalcontent.asp?bkid=31099&image_src=https://images.books24x7.com/bookimages/id_31099/fig71%5F01%5F0%2Ejpg&image_id=100&previd=IMG_100"> target="_parent"><img alt="Image from book"> border="0"> height="198"> id="IMG_100"> src="https://images.books24x7.com/bookimages/id_31099/fig71_01.jpg"> title="Click To expand"> width="295"></a></span>
Notice how Mathematica only showed us a portion of what we asked for (the graph is not shown when x exceeds 2.5 or so). This is because beyond the portion shown Mathematica observed no interesting behavior; the graph just kept going up on the left and on the right. The (boring) information near the edges was clipped off to give a better view of the middle portion of the plot. Mathematica will do this clipping by default.
The option PlotRange is set by default to an automated setting which will sometimes result in a graph with a truncated vertical scale. But suppose you really want to see the function over the full domain from ?3 to 3. You can indicate this by adding PlotRange Full as an additional argument to the Plot command. It must be placed after the two required arguments. The arrow ? is found on the BasicMathInput palette; alternatively, it can be typed from the keyboard as a...