- #1
Hepth
Gold Member
- 464
- 40
I have a list of vectors I would like to plot.
Lets say, I have 4 of them:
{0,0,1}@{0,0,0}
{0,0,2}@{0,1,0}
{0,0,2}@{1,0,0}
{0,0,1}@{1,1,0}
So its basically a 2x2 array of vectors in the Z plane, all pointing in the Z direction with varying magnitude. I can't seem to get it to work, as the VectorListPlot3D seems to interpolate, and I'm not sure how to structure the data.
{{{0, 0, 0}, {0, 0, 1}}, {{1, 0, 0}, {0, 0, 1}}, {{0, 1, 0}, {0, 0, 1}}, {{1, 1, 0}, {0, 0, 1}}}
ListVectorPlot3D[%]
doesn't work. Neither does the VectorPoints-> All option.
Looking online it seems other people have the same problem.
If I just want ONE ARROW, at the origin, with magnitude ONE, pointing in the Z direction, it seems like mathematica cannot do it without resorting to graphics manipulation.
Any help?
Lets say, I have 4 of them:
{0,0,1}@{0,0,0}
{0,0,2}@{0,1,0}
{0,0,2}@{1,0,0}
{0,0,1}@{1,1,0}
So its basically a 2x2 array of vectors in the Z plane, all pointing in the Z direction with varying magnitude. I can't seem to get it to work, as the VectorListPlot3D seems to interpolate, and I'm not sure how to structure the data.
{{{0, 0, 0}, {0, 0, 1}}, {{1, 0, 0}, {0, 0, 1}}, {{0, 1, 0}, {0, 0, 1}}, {{1, 1, 0}, {0, 0, 1}}}
ListVectorPlot3D[%]
doesn't work. Neither does the VectorPoints-> All option.
Looking online it seems other people have the same problem.
If I just want ONE ARROW, at the origin, with magnitude ONE, pointing in the Z direction, it seems like mathematica cannot do it without resorting to graphics manipulation.
Any help?