Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

3D vectors in matlab questions

  1. Sep 7, 2010 #1
    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?
  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted