
3-D Graphics É 89
3.8 3-D Graphics
3-D plots play an important role in plotting functions that cannot be interpreted properly in the
2-D plane. For instance, to know the nature of a function z which depends on two variables x
and y, you need a 3-D plot. MATLAB has several built-in functions for plotting 3-D objects.
This subsection deals mostly with functions used to plot curves in the 3-D space (plot3),
mesh surfaces (mesh), plain surfaces (surf), and contour plots (contour). Also, two
functions for plotting special surfaces namely, sphere and cylinder are discussed briefly.
You can use MATLAB help on 3-D plots (>> help graph3d), to find more ...