December 2008
Intermediate to advanced
408 pages
9h 43m
English
In Chap. 2, we saw how to plot a variety of two-dimensional objects. Almost all of the functions that were discussed there have a version that works similarly for three-dimensional objects. In this chapter we’ll see how to plot curves and surfaces in three-dimensional space as well as other kinds of objects.
Let’s start with the Plot3D function which is the analog of the Plot function. We can use Plot3D to plot the graph of a two-variable function in three-dimensional space. Example 6.1.1 shows the graph of the function x2 + y2. The syntax for Plot3D is very similar to that of its two-dimensional cousin Plot. The first argument is the function that we want to plot the graph of, in this ...