Quiver Plot Arrows too Wide
조회 수: 28(최근 30일)
표시 이전 댓글
Hello everyone, sorry I'm asking what seems like a rudimentary question but I've probably spent the better half of an hour online trying to solve my problem and I have not gotten anything to work. I'm making a quiver plot with specific vectors at specific locations using the plot function:
quiver(x,y,u,v)
unfortunately, my plot is what is shown below...

Those are arrows believe it or not. I can't seem to find a simple solution to making the arrow heads not so wide! My data in the x direction only varies from .6 to .7 but the x axis has been severely widened due to these wide arrows. Thank you for any help!
댓글 수: 4
Joaquin Guillamon
2021년 8월 21일
Hi Pablo, I'm writing regading a similar issue with the width of the arrows in the quiver plot you've got some years ago. Could you realized what was the problem?? I've tried a lot of different things but cannot make it look nice those arrows... If you know how to solve it, I appreciate any suggestion or help you can give me! Thanks!
답변(2개)
Andrew Newell
2017년 4월 23일
quiver(...,scale)
In your example, you could try
scale=0.1;
quiver(x,y,u,v,scale)
and tweak scale to get what you want.
댓글 수: 4
Andrew Newell
2017년 4월 24일
Working with Graphics Objects may help familiarize you with my use of h and the get/set interface. It certainly works in tests I have done.
Timothy Russell
2017년 5월 26일
Another question I have about the quiver3 plot...I'm trying to graph a vector in 3D and want to save a picture of it at a certain angle but the arrow head doesn't show up well at that angle. Can I somehow rotate the vector so the arrowhead shows up? thanks, tim
댓글 수: 1
참고 항목
범주
Find more on Vector Fields 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!