No BSD License  

Highlights from
Draw 3D arrows

4.71429

4.7 | 7 ratings Rate this file 55 Downloads (last 30 days) File Size: 27.68 KB File ID: #8396
image thumbnail

Draw 3D arrows

by Changshun Deng

 

30 Aug 2005 (Updated 15 Dec 2006)

A function to draw 3D-arrows.

| Watch this File

File Information
Description

I saw a arrow function by Dr. Erik A. Johnson last night, this function is very useful. But it can only draw 2d arrows, whose heads are patches. So i wrote this functin is used to draw 3D-arrows. the arrows ard made up of cylinders and tapers. The size of arrow head is decided by the minimum distance between start and stop , and you can set the arrow body and arrow head's shape by input arguments. This function will return you the handles of the arrows, so you can set other properties by the handles.

And here provide a very useful [rotatedata] function ,which is modified from rotate function.

If you have any problem, please contact me by email.

MATLAB release MATLAB 6.5.1 (R13SP1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (12)
15 Sep 2006 Jon W.

Nice, does the job and is easy to use.

08 Aug 2007 Johannes Korsawe

Thank you. Good job. Would be nice to have easier possibility to change colors.

27 Sep 2007 benni yohannes

Thy helps me a lot

27 Sep 2007 benni yohannes

thx helps me a lot

24 Apr 2008 Otkrist Gupta

Thanks a lot
This is just what I needed

24 Jul 2008 ash rai  
20 Oct 2008 sun hai  
21 Oct 2008 xu min

good !

15 Mar 2010 Shuqin Zhang

THX!

22 Apr 2011 Jin

There's a bug in the rotation part so if stop point is right above start point, certain quantities become NaN.

16 May 2011 Tang

THX~

05 Aug 2011 sun bowen

OK

Please login to add a comment or rating.
Updates
15 Dec 2006

Bug fix

Tag Activity for this File
Tag Applied By Date/Time
specialized Changshun Deng 22 Oct 2008 07:59:08
plotting Changshun Deng 22 Oct 2008 07:59:08
arrow Changshun Deng 22 Oct 2008 07:59:08
rotate Changshun Deng 22 Oct 2008 07:59:08
specialized plot Changshun Deng 22 Oct 2008 07:59:08
function Changshun Deng 22 Oct 2008 07:59:08
graphics Changshun Deng 22 Oct 2008 07:59:08
3d Changshun Deng 22 Oct 2008 07:59:08
arrow sun bowen 05 Aug 2011 03:40:41

Contact us at files@mathworks.com