CURVVEC

版本 1.0.0.0 (4.9 KB) 作者: Andrew Stevens
draw curved vectors from 2D vector data
2.5K 次下载
更新时间 2009/8/18

查看许可证

CURVVEC creates curved vectors for 2D vector components U,V. The arrays X,Y define the coordinates for U and V. Curvature of the vectors is based on ML Built-in function, STREAM2. The length of the vectors are scaled to the vector magnitude. The color of the vectors may or may not be scaled according to the vector magnitude depending on optional input parameters.

EXAMPLE:

load wind
mu=mean(u,3); mv=mean(v,3); mx=mean(x,3); my=mean(y,3);

figure
curvvec(mx,my,mu,mv,'color',jet,'minmag',5,...
'maxmag',50,'thin',3)
set(gca,'color','k')

引用格式

Andrew Stevens (2024). CURVVEC (https://www.mathworks.com/matlabcentral/fileexchange/25066-curvvec), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2009a
兼容任何版本
平台兼容性
Windows macOS Linux
致谢

参考作品: StreakArrow, BIN2MAT

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0