streamtube
Streamtubes — streamlines rendered with a width that varies with divergence.
Syntax
Section titled “Syntax”h = streamtube(x, y, z, u, v, w, sx, sy, sz, ...)Description
Section titled “Description”Like streamline but renders each streamline as a tube whose radius varies with the local divergence of the vector field. Useful for visualizing fluid expansion/compression along streamlines.
Example
Section titled “Example”streamtube(X, Y, Z, U, V, W, sx, sy, sz)See also
Section titled “See also”streamline— Streamlines through a 2D or 3D vector field.streamribbon— Streamribbons — streamlines as twisted ribbons showing local rotation.