Hi,
I need to be able to set the length of the quiver arrows depending on a certain magnitude and without using the scaling properties.
For that I have made a function that adjust the vertices position for the Tail and Head of the quiver plots (the quiver.Head.VertexData and quiver.Tail.VertexData).
No problem in creating the new values for the vertices.
I set the new properties using set(q_handle,'VertexData',VertexData) and I see that the new data are now in the quiver handle.
Now comes the problem...
This does not show graphically on the plot except if I request matlab to pause (for at least 0.011 sec) or if I change it while in KEYBOARD mode.
Is there a work around so that I don't have to ask it to pause?
I need to make a lot of quiver plots on the same figure (due to different mesh sizes) and these quickly add-up...
Cheers,
Alex.
ps: I use '9.5.0.1049112 (R2018b) Update 3'

댓글 수: 2

dpb
dpb 2019년 6월 13일
drawnow help, maybe???
De Spiegeleer Alexandre
De Spiegeleer Alexandre 2019년 6월 13일
I tried but that did not help.

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 Vector Fields에 대해 자세히 알아보기

질문:

2019년 6월 13일

댓글:

2019년 6월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by