Summary
This chapter explained how to use the powerful MATLAB commands to create effective and pleasing two-dimensional and three-dimensional plots. You learned an important application of plotting-function discovery-which is the technique for using data plots to obtain a mathematical function that describes the data. Regression can be used to develop a model for cases where there is considerable scatter in the data-These techniques are widely used in engineering applications because engineers frequently need to use mathematical models to predict how their proposed designs will “Work. The following guidelines will help you create plots that effectively convey the desired information:

• Label each axis with the name of the quantity being plotted and its unit.
• Use regularly spaced tick mark sat convenient intervals along each axis;
• If you. are plotting more than one curve or data set, label each on its plot or use a legend to distinguish them.
• If you are preparing multiple plots of a similar type or if the axes’ labels cannot convey enough information, use a title.
• If you are plotting measured data, plot each data point in a given set with the same symbol, such as a circle, square, or cross.
• If yeu are plotting points generated by evaluating a function (as opposed to measured data), do not use a symbol to plot the points. Instead, connect the points with solid lines

Table 5.9-1 is a guide to the MATLAB commands introduced in this chapter.

Table 5.9-1 is a guide to the MATLAB commands introduced in this chapter.