quiver3 not plotting the end point
Show older comments
I used the quiver3 function and was specting a vector that goes from 0,2,4 to 2,7,10. To confirm this I plotted both points but only the point 0,2,4 matches the origin of the vector, the point 2,7,10 doesn't quite match with the end of the vector. Can someone help me with this problem? Is it just a matter of positioning or what am I doing wrong?
Thanks in advance (and well sorry I kind of plotted 2 vectors the second one being from 0,2,4 to 2,4,6)
This is my code
quiver3(0,2,4,2,5,6)
axis([-10 10 -10 10 -10 10])
hold on
plot3(0,2,4,'+')
plot3(0+2,2+5,4+6,'+')
quiver3(0,2,4,2,2,2)
plot3(2,4,6,'+')
And this is the corresponding output

Accepted Answer
More Answers (0)
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
