Register to reply

3D vectors in matlab questions

by RandomGuy88
Tags: matlab, vectors
Share this thread:
RandomGuy88
#1
Sep7-10, 02:13 PM
P: 365
I am calculating the velocity of the air in front of a wing. I would like to plot the 3D vectors of the velocity on the same plot as the geometry of the wing. I have the two plots separately but I was wondering if there was anyway I could superimpose one on the other? Currently the geometry is plotted using fill3(X,Y,Z,'w') and the velocity vectors are plotted using quiver3(x,y,z,u,v,w).

I was also wondering it it were possible to indicate the magnitude of a vector other than the relative size of the arrow when using quiver3. Is there a way that I can give different arrows different colors and a color bar to represent the magnitudes or perhaps pick a few of the arrows and label them with their magnitude?
Phys.Org News Partner Science news on Phys.org
'Office life' of bacteria may be their weak spot
Lunar explorers will walk at higher speeds than thought
Philips introduces BlueTouch, PulseRelief control for pain relief

Register to reply

Related Discussions
Plot vectors 2D! With Matlab! Math & Science Software 1
Vectors in matlab Math & Science Software 3
How to create a matrix from vectors in Matlab General Math 0
Eigen Vectors on Matlab and Ti-89 Titanium Calculators 0
Plotting vectors in Maple or MATLAB Math & Science Software 2