image thumbnail

StreakArrow

version 1.1.0.0 (1.75 KB) by Bertrand Dano
Creates curved vector fields or "tuft" lines to look like wind tunnel tuft flow visualization.

3K Downloads

Updated 01 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 (2021). 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
Acknowledgements

Inspired: CURVVEC

Community Treasure Hunt

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

Start Hunting!