FUNCTION REFERENCE

streamline

Trace and draw 2-D streamlines.

Trace and draw 2-D streamlines.

Syntax

h = streamline(X, Y, U, V, startx, starty)

Syntax

h = streamline(U, V, startx, starty, [step maxvert])

Traces a bilinearly interpolated velocity field forward from each start point, adding a line to the current axes. Defaults are step 0.1 cell and 10000 vertices. Returns a column of line handles.

Example

h = streamline(ones(2), zeros(2), 1, 1); numel(h)   % 1

Differences from MATLAB: only rectilinear 2-D meshgrids are supported.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.