Skip to content

stream2

Compute (without plotting) 2D streamline vertex coordinates.

xyz = stream2(x, y, u, v, sx, sy, options)

Returns the vertex sequences of streamlines without drawing them. Useful when you want custom rendering or post-processing of the streamline geometry. options is a 2-element vector [step_size, max_steps].

xyz = stream2(X, Y, U, V, sx, sy);
  • streamline — Streamlines through a 2D or 3D vector field.
  • stream3 — Compute (without plotting) 3D streamline vertex coordinates.