Three-Dimensional Graphics, Warped Curves and Surfaces, Contour Graphics
3.1 Three-Dimensional Graphics (3-D), Warped Curves
The basic commands that MATLAB uses to draw graphs that generate a line in three dimensions or warped curves are the following:
- plot3(X, Y, Z) draws the set of points (X, Y, Z), where X, Y and Z are vectors. X, Y and Z can also be arrays of the same size, in which case a graph is made for each triplet of rows and on the same axis. For complex values of X, Y and Z, the imaginary parts are ignored.
- plot3(X,Y,Z,S) draws the plot (X, Y, Z) with the settings defined in S. Usually S consists of two-symbols between single ...