quiver3Dpatch

バージョン 1.4.0.0 (5.59 KB) 作成者: Kevin Moerman
Plotting of colored 3D arrows based on patch command

ダウンロード 1.6K 件

更新 2015/4/28

ライセンスの表示

This function allows plotting of colored 3D arrows by generating patch
data (faces “F”, vertices “V” and color data “C”). The patch data which
allows plotting of 3D quiver arrows with specified (e.g. colormap driven)
color. To save memory n arrows are created using only n*6 faces and n*7
vertices. The vector "a" defines arrow length scaling where a(1) is the
smallest arrow length and a(2) the largest. The input c specified color data. Use the PATCH command to plot
the arrows:
[F,V,C]=quiver3Dpatch(x,y,z,ux,uy,uz,c,a);
patch('Faces',F,'Vertices',V,'CData',C,'FaceColor','flat');

引用

Kevin Moerman (2022). quiver3Dpatch (https://www.mathworks.com/matlabcentral/fileexchange/28211-quiver3dpatch), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2015a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!