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 (2024). quiver3Dpatch (https://www.mathworks.com/matlabcentral/fileexchange/28211-quiver3dpatch), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2015a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Vector Fields에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.4.0.0

Fixed description

1.3.0.0

Renewed as included in gibboncode.org

1.2.0.0

Fixed arrow length scaling bug for equal length vector input. Added color input option and added comments and expanded example for color specification.

1.0.0.0