StreakArrow
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
Citar como
Bertrand Dano (2024). StreakArrow (https://www.mathworks.com/matlabcentral/fileexchange/22269-streakarrow), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- MATLAB > Graphics > 2-D and 3-D Plots > Vector Fields >
Etiquetas
Agradecimientos
Inspiración para: CURVVEC
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.