Skip to content

streamline

plot · scripts/plot/draw/streamline.m

: h = streamline (xyz)
: h = streamline (x, y, u, v, sx, sy)
: h = streamline (u, v, sx, sy)
: h = streamline (x, y, z, u, v, w, sx, sy, sz)
: h = streamline (u, v, w, sx, sy, sz)
: h = streamline (…, options)
: h = streamline (ax, …)

Draw streamlines of a vector field.

With a cell array xyz of vertex matrices, as returned by stream2 or stream3, every non-empty entry (p-by-2 or p-by-3) is drawn as one line. The other forms first compute the vertices with stream2 or stream3 from the field components and the seed points; options is passed on to them.

The return value is a column vector of line handles.