Code covered by the BSD License
-
S=streakbar(X,Y,U,V,unit)
H=streakbar(X,Y,U,V,unit) creates a colorbar for (but not exclusively)
-
hh=streakarrow(X0,Y0,U,V,np,a...
-
View all files
StreakArrow
by Bertrand Dano
28 Nov 2008
(Updated 01 Dec 2008)
Creates curved vector fields or "tuft" lines to look like wind tunnel tuft flow visualization.
|
Watch this File
|
| File Information |
| Description |
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 |
| Acknowledgements |
This submission has inspired the following:
CURVVEC
|
| MATLAB release |
MATLAB 6.5 (R13)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 01 Dec 2008 |
added custom colorbar support |
|
Contact us at files@mathworks.com