3D Arrow with many color/parameter options

버전 1.0.0.0 (77.5 KB) 작성자: Shawn Arseneau
Create a single 3D arrow in a volumized format
다운로드 수: 5K
업데이트 날짜: 2006/9/18

라이선스 없음

This code allows you to create simple, yet powerful three dimensional arrow. As it is derived from the surf command, it may be memory intensive, but well worth the cost for crisp visualization of data using phong shading and MATLAB's lighting options.

Example:
arrow3D([0,0,0], [0,0,1],'red',0.82);

%% Creates a single arrow starting at the origin with magnitude=1 along the z-axis, in red, with an arrowhead 18% of the length and the stem 82% of the length.
This has a 'published' file, so use:

playshow demoArrow3D

to view many of the details or simply view directly the html file attached.

인용 양식

Shawn Arseneau (2024). 3D Arrow with many color/parameter options (https://www.mathworks.com/matlabcentral/fileexchange/12274-3d-arrow-with-many-color-parameter-options), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R14SP1
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

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

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

A few stylistic fixes have been completed to allow for a tighter input parameter format as well as to provide a more extensive help preamble. Thanks go to John D'Errico for the insightful comments and critique.