Regarding increasing arrow head size

조회 수: 50 (최근 30일)
CODER
CODER 2022년 7월 12일
댓글: VBBV 2024년 12월 24일
How to increase the arrowhead size in quiver plot
I tried using this command line
h2 = quiver(x,y,u,v)
set(h2,'AutoScale','on', 'AutoScaleFactor',0.8,'color','k','HeadLength',8,'HeadWidth',8,'linewidth',2)
But there is no change in arrow head size
I tried with 'MaxHeadSize' 0.2 also
Can anyone suggest on this.
Thanking you
  댓글 수: 1
VBBV
VBBV 2024년 12월 24일
@CODER, which version of Matlab are you using ?
'HeadLength', 'HeadWidth' Properties are not present in quiver appearance properties.

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

답변 (1개)

Harshit Gupta
Harshit Gupta 2022년 7월 12일
Hi, I understand that you want to increase the arrow head size, but it seems that changing the 'MaxHeadSize' property while the 'AutoScale' is 'on' doesn't work.
Set 'AutoScale' to 'off', and then change the 'MaxHeadSize' property and you will see the Arrow head size changing
Con: The plot might be hard to read due to AutoScale being off
  댓글 수: 3
Harshit Gupta
Harshit Gupta 2022년 7월 12일
It should have worked.
Did you try it like this?
h2 = quiver(x,y,u,v)
h2.AutoScale = 0
h2.MaxHeadSize = 10
CODER
CODER 2022년 7월 13일
Addition of this has no change.

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

카테고리

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