Vector plot

版本 1.1.1.0 (10.2 KB) 作者: Damien Garcia
VPLOT plots (velocity) vectors as colored wedges (or other shapes)
377.0 次下载
更新时间 2017/3/21

查看许可证

VPLOT(X,Y,U,V) plots velocity vectors as colored wedges (default shapes) with directions defined by the components (U,V) and centers at the points (X,Y). The arrays X,Y,U,V must all be the same size. By default, the shape colors are determined by the velocity amplitudes.

VPLOT(X,Y,U,V,C) uses C to determine the shape colors. C must be of same size as U and V. If C = [], the wedge colors are determined by the velocity amplitudes. If C is a single character string chosen from the list 'r','g','b', 'c','m','y','w','k', or an RGB row vector triple, [r g b], the shape is filled with the constant specified color.

By default, VPLOT automatically scales the shapes, and their areas are proportional to the velocity amplitudes. The colors are based on the current colormap and the color scaling is determined by the range of C, or by the current setting of CAXIS.

The shapes and their size can be modified by the structure OPTIONS: VPLOT(X,Y,U,V,OPTIONS) or VPLOT(X,Y,U,V,C,OPTIONS).

Enter "help vplot" in the Matlab command window for complete instructions and several examples.

引用格式

Damien Garcia (2025). Vector plot (https://www.mathworks.com/matlabcentral/fileexchange/62078-vector-plot), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2016a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Computer Vision with Simulink 的更多信息

Community Treasure Hunt

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

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

.

1.1.0.0

.

1.0.0.0