Message Boards Message Boards

0
|
1748 Views
|
2 Replies
|
1 Total Likes
View groups...
Share
Share this post:

Visualize 3D vector field?

Posted 5 years ago

I am getting VisualizationCoreListVectorPlot3D error when I try visualize this:

vectors = 
 Table[{{f1[x,y,z], f2[x,y,z], f3[x,y,z]}, {f4[x,y,z], f5[x,y,z], 0}}, {x, -1, 1, .1}, {y, -1, 
   1, .1}, {z, -1, 1, .1}]
ListVectorPlot3D[vectors]

Do you know how can I solve this? Thank you

POSTED BY: Martin Vit
2 Replies
Posted 5 years ago

I used the VectorPlot3D and that solved the problem.

POSTED BY: Martin Vit

ListVectorPlot3D wants an array of vectors in R^3. It is being given something else, specifically, an array of pairs of vectors in R^3.

Generally such issues are easier to replicate when full code is provided e.g. definitions for f1, f2, etc.

POSTED BY: Daniel Lichtblau
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract