Quiver arrow doesn't show at the right place
3 次查看(过去 30 天)
显示 更早的评论
o = [0,0];
v = [3 10];
quiver(o(1), o(2), v(1), v(2),'k','LineWidth',2);
hold on
plot(v(1),v(2),"o")
xlim([(-1) (11)]);
ylim([(-1) (11)]);
grid on
The arrow is pointing towards [3, 10] but ends around [2.75, 9] while it should've stop at the red dot, right? Or am i wrong?
0 个评论
采纳的回答
Simon Chan
2023-3-22
By default, AutoScale is set to on and AutoScaleFactor is 0.9.
So you may set AutoScale to off or set AutoScaleFactor to 1.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Vector Fields 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!