Be the first to rate this file! 114 downloads (last 30 days) File Size: 1.75 KB File ID: #22269

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.

Download Now | 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

MATLAB release MATLAB 6.5 (R13)
Zip File Content  
Other Files streakbar.m,
streakarrow.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
01 Dec 2008 added custom colorbar support

Public Submission Policy

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.

Contact us at files@mathworks.com