streamslice
Streamlines on a 2D slice of a 3D vector field.
Syntax
Section titled “Syntax”h = streamslice(x, y, z, u, v, w, ...)Description
Section titled “Description”Generates streamlines on slices through a 3D vector field. Slice positions can be specified in name-value pairs ('XSlice', 'YSlice', 'ZSlice'). Useful for inspecting a 3D flow at specific cross-sections.
Example
Section titled “Example”streamslice(X, Y, Z, U, V, W, [], [], 0) % z=0 sliceSee also
Section titled “See also”streamline— Streamlines through a 2D or 3D vector field.slice— Slice a 3D scalar volume with planar cuts.