Using MATLAB Graphics     Search    Help Desk 

Example - Displaying Real Objects

If you want to display an object so that it looks realistic, you need to change MATLAB's defaults. For example, this data defines a wedge-shaped patch object:

However, this axes distorts the actual shape of the solid object defined by the data. To display it in correct proportions, set the DataAspectRatio.

The units are now equal in the x-, y-, and z-directions and the axes is not being stretched to fill the position rectangle, revealing the true shape of the object.



[ Previous | Help Desk | Next ]