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
Zitieren als
Bertrand Dano (2024). StreakArrow (https://www.mathworks.com/matlabcentral/fileexchange/22269-streakarrow), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Graphics > 2-D and 3-D Plots > Vector Fields >
Tags
Quellenangaben
Inspiriert: CURVVEC
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.1.0.0 | added custom colorbar support |
||
1.0.0.0 |