StreakArrow

Creates curved vector fields or "tuft" lines to look like wind tunnel tuft flow visualization.
3.2K Downloads
Updated 1 Dec 2008

View License

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

Cite As

Bertrand Dano (2024). StreakArrow (https://www.mathworks.com/matlabcentral/fileexchange/22269-streakarrow), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Vector Fields in Help Center and MATLAB Answers
Acknowledgements

Inspired: CURVVEC

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.0.0

added custom colorbar support

1.0.0.0