필터 지우기
필터 지우기

Quiver arrow doesn't show at the right place

조회 수: 1 (최근 30일)
Dirk te Brake
Dirk te Brake 2023년 3월 22일
댓글: Dirk te Brake 2023년 3월 22일
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?

채택된 답변

Simon Chan
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.
  댓글 수: 1
Dirk te Brake
Dirk te Brake 2023년 3월 22일
I can understand why an autoscalefactor option is usefull but why set it to 0.9 by default? Anyway thank you!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Vector Fields에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by