streamparticles
Display particle markers along stream paths.
📝Syntax
streamparticles(vertices)
streamparticles(vertices, n)
streamparticles(parent, vertices, n)
streamparticles(lineHandle, vertices, n)
streamparticles(..., name, value)
h = streamparticles(...)
📥Input Arguments
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.
📄Description

streamparticles draws markers at sampled positions from precomputed streamline vertices.

💡Examples
Display stream particles.
vertices = {[0 0; 0.5 0.2; 1 0.5; 1.5 0.8]};
streamparticles(vertices);
Example illustration
Display particles from precomputed streamline vertices.
vertices = {[0 0; 0.5 0.2; 1 0.5; 1.5 0.8]};
streamparticles(vertices, 4, 'MarkerFaceColor', 'red');
Example illustration
🔗See Also
streamline
Edit this page on GitHub