3D vectors in matlab questions


by RandomGuy88
Tags: matlab, vectors
RandomGuy88
RandomGuy88 is offline
#1
Sep7-10, 02:13 PM
P: 362
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
NASA's space station Robonaut finally getting legs
Free the seed: OSSI nurtures growing plants without patent barriers
Going nuts? Turkey looks to pistachios to heat new eco-city

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