Mathematica 9 is now available
Student Support Forum
Student Support Forum: '3D vector field.' topicStudent Support Forum > General > "3D vector field."

Next Comment >Help | Reply To Topic
Author Comment/Response
07/12/13 12:28pm

I'm trying to plot a 3D vector field from a file, using ListVectorPlot3D, but not working.

te = Import["C:\\Users\\oliver\\Documents\\campo.txt", "Table",
"IgnoreEmptyLines" -> True];

x = te[[All, 1]];
y = te[[All, 2]];
z = te[[All, 3]];
ux = te[[All, 4]];
vy = te[[All, 5]];
wz = te[[All, 6]];
punto = Transpose[{x, y, z}];
vel = Transpose[{ux, vy, wz}];
ListVectorPlot3D[Transpose[{punto, vel}], PlotRange -> Full,
VectorPoints -> All]

What i'm doing wrong?
thanks a lot.

Attachment: campo.txt, URL: ,

Subject (listing for '3D vector field.')
Author Date Posted
3D vector field. Gok12 07/12/13 12:28pm
Re: 3D vector field. Bill Simpson 07/12/13 11:20pm
Next Comment >Help | Reply To Topic