I have a .dat file with six columns: {x y z vx vy vz}
, where x, y, z are space coordinates and vx, vy, vz are the vector components.
How can I use this file to get a ListVectorPlot3D
image? Because I tried to arrange the data as {{x,y,z}, {vx,vy,vz}}
and Mathematica still gives me an error message:
ListVectorPlot3D::vfldata ... is not a valid vector field dataset or a valid list of datasets.
I haven't found many related question about this, just one about using Graphics
and drawing each vector, but I think it would be simpler to use ListVectorPlot
.