streamparticles(vertices)
streamparticles(vertices, n)
streamparticles(parent, vertices, n)
streamparticles(lineHandle, vertices, n)
streamparticles(..., name, value)
h = streamparticles(...)
| Parameter | Description |
|---|---|
| vertices | Cell array of streamline coordinate arrays with two or three columns. |
| lineHandle | Existing line object to reuse for the particle markers. |
| n | Number of particle markers to sample on each streamline. |
| name, value | Supported properties include Marker, MarkerEdgeColor, MarkerFaceColor, Animate, FrameRate, and ParticleAlignment. |
streamparticles draws markers at sampled positions from precomputed streamline vertices.
vertices = {[0 0; 0.5 0.2; 1 0.5; 1.5 0.8]};
streamparticles(vertices);
vertices = {[0 0; 0.5 0.2; 1 0.5; 1.5 0.8]};
streamparticles(vertices, 4, 'MarkerFaceColor', 'red');