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
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you help with the solution or looking for help too?
Draft saved Draft deleted

Similar Discussions: 3D vectors in matlab questions
  1. 3D modelling in MATLAB (Replies: 2)

  2. 3D plot using Matlab (Replies: 1)

  3. 3D Z-Transform Matlab (Replies: 3)

  4. MATLAB, 3D plotting (Replies: 1)