4.8

4.8 | 10 ratings Rate this file 90 Downloads (last 30 days) File Size: 27.7 KB File ID: #8396
image thumbnail

Draw 3D arrows

by

 

30 Aug 2005 (Updated )

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   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (15)
26 Jun 2014 Pearl  
09 May 2014 Huilong  
05 Dec 2013 JUE

nice

05 Aug 2011 sun bowen

OK

16 May 2011 Tang

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.

15 Mar 2010 Shuqin Zhang

THX!

21 Oct 2008 xu min

good !

20 Oct 2008 sun hai  
24 Jul 2008 ash rai  
24 Apr 2008 Otkrist Gupta

Thanks a lot
This is just what I needed

27 Sep 2007 benni yohannes

thx helps me a lot

27 Sep 2007 benni yohannes

Thy helps me a lot

08 Aug 2007 Johannes Korsawe

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

15 Sep 2006 Jon W.

Nice, does the job and is easy to use.

Contact us