streamslice(U, V)
streamslice(X, Y, U, V)
streamslice(X, Y, Z, U, V, W, sx, sy, sz)
streamslice(parent, ...)
h = streamslice(...)
[vertices, arrowVertices] = streamslice(...)
streamslice displays vector field direction using line objects for stream paths and direction arrows.
With two outputs, streamslice returns cell arrays of streamline vertices and arrow vertices instead of drawing.
[x, y] = meshgrid(-2:2, -2:2);
streamslice(x, y, -y, x);