Skip to main content
added 85 characters in body
Source Link
Kay
  • 1.1k
  • 7
  • 20

I have a couple of vectors. However, they are not ordered in a regular 3D fashion. Nevertheless, regarding the manual "With the setting VectorPoints->All, ListVectorPlot3D instead shows vectors associated with the particular vector field data points given." So I guess MMA should be able to display the following example:

vectors = {{1, 1, 1}, {2, 0, 1}, {1, 2, 3}, {0, 2, 0}, {3, 1, 1}};
points = {{0, 0, 0}, {1, 0, 0}, {0, 1, 0}, {1, 1, 0}, {1, 1, 1}};
combo = Transpose[{points, vectors}];

ListVectorPlot3D[combo, VectorPoints -> points]

But plotting this, results in an empty box. Any hints?

EDIT: The data above are showing a MWE. I have in mind to plot in total 5000 vectors...

I have a couple of vectors. However, they are not ordered in a regular 3D fashion. Nevertheless, regarding the manual "With the setting VectorPoints->All, ListVectorPlot3D instead shows vectors associated with the particular vector field data points given." So I guess MMA should be able to display the following example:

vectors = {{1, 1, 1}, {2, 0, 1}, {1, 2, 3}, {0, 2, 0}, {3, 1, 1}};
points = {{0, 0, 0}, {1, 0, 0}, {0, 1, 0}, {1, 1, 0}, {1, 1, 1}};
combo = Transpose[{points, vectors}];

ListVectorPlot3D[combo, VectorPoints -> points]

But plotting this, results in an empty box. Any hints?

I have a couple of vectors. However, they are not ordered in a regular 3D fashion. Nevertheless, regarding the manual "With the setting VectorPoints->All, ListVectorPlot3D instead shows vectors associated with the particular vector field data points given." So I guess MMA should be able to display the following example:

vectors = {{1, 1, 1}, {2, 0, 1}, {1, 2, 3}, {0, 2, 0}, {3, 1, 1}};
points = {{0, 0, 0}, {1, 0, 0}, {0, 1, 0}, {1, 1, 0}, {1, 1, 1}};
combo = Transpose[{points, vectors}];

ListVectorPlot3D[combo, VectorPoints -> points]

But plotting this, results in an empty box. Any hints?

EDIT: The data above are showing a MWE. I have in mind to plot in total 5000 vectors...

Source Link
Kay
  • 1.1k
  • 7
  • 20

Why I cannot see any vectors in ListVectorPlot3D?

I have a couple of vectors. However, they are not ordered in a regular 3D fashion. Nevertheless, regarding the manual "With the setting VectorPoints->All, ListVectorPlot3D instead shows vectors associated with the particular vector field data points given." So I guess MMA should be able to display the following example:

vectors = {{1, 1, 1}, {2, 0, 1}, {1, 2, 3}, {0, 2, 0}, {3, 1, 1}};
points = {{0, 0, 0}, {1, 0, 0}, {0, 1, 0}, {1, 1, 0}, {1, 1, 1}};
combo = Transpose[{points, vectors}];

ListVectorPlot3D[combo, VectorPoints -> points]

But plotting this, results in an empty box. Any hints?