5.0 | 1 rating Rate this file 14 Downloads (last 30 days) File Size: 3.03 KB File ID: #28211
image thumbnail



Kevin Moerman (view profile)


15 Jul 2010 (Updated )

Plotting of colored 3D arrows based on patch command

| Watch this File

File Information

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. Use the PATCH command to plot
the arrows:


MATLAB release MATLAB 7.4 (R2007a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
13 Apr 2011 Wouter

Wouter (view profile)

12 Apr 2011

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

Contact us