O'Reilly logo

MATLAB® and Its Applications in Engineering: [Based on MATLAB 7.5 (R2007b)] by Manoj Kumar Sharma, Ashok Kumar Goel, Raj Kumar Bansal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

6.8. Three-Dimensional Plots

For visualization of data in three dimensions, MATLAB provides a number of functions. Most of the functions are the extension of 2-D functions such as plot3, bar3, bar3h and pie3. The 3-D graphs are generally used to display two types of data. First, when two variables are the function of independent variable and secondly, when single variable is a function of two independent variables. To display the data which is the function of two independent variables surface, mesh and contour plots are used.

Some of the built-in 3-D functions are discussed as follows:

6.8.1. plot3

plot3 function is an extension of plot function used in 2-D data display. In case of plot function, two variables are used whereas in plot3 function ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required