3-D Visualization Previous page   Next Page

Visualizing Vector Volume Data

Vector volume data contains more information than scalar data because each coordinate point in the data set has three values associated with it. These values define a vector that represents both a magnitude and a direction. The velocity of fluid flow is an example of vector data.

MATLAB supports a number of techniques that are useful for visualizing vector data:

It is typically the case that these functions best elucidate the data when used in conjunction with other visualization techniques, such as contours, slice planes, and isosurfaces. The examples in this section illustrate some of these techniques.

Using Scalar Techniques with Vector Data

Visualization techniques such as contour slices, slice planes, and isosurfaces require scalar volume data. You can use these techniques with vector data by taking the magnitude of the vectors. For example, the wind data set returns three coordinate arrays and three vector component arrays, u, v, w. In this case, the magnitude of the velocity vectors equals the wind speed at each corresponding coordinate point in the volume.

The array wind_speed contains scalar values for the volume data. The usefulness of the information produced by this approach, however, depends on what physical phenomenon is represented by the magnitude of your vector data.


Previous page  Defining Isocaps Specifying Starting Points for Stream Plots Next page

© 1994-2005 The MathWorks, Inc.