H = STREAKARROW(X,Y,U,V,np,arrow) creates "curved" vectors, from 2D vector data U and V. All vectors have the same length. The magnitude of the vector is color coded.
The arrays X and Y defines the coordinates for U and V.
The variable np is a coefficient >0, changing the length of the vectors.
np=1 corresponds to a whole meshgrid step.
np>1 allows ovelaps like streamlines.
The parameter arrow defines the type of plot:
arrow=1 draws "curved" vectors
arrow=0 draws circle markers with streaks like "tuft" in wind tunnel studies
Bertrand Dano (2021). StreakArrow (https://www.mathworks.com/matlabcentral/fileexchange/22269-streakarrow), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!