Streamline and Quiver plot

조회 수: 32 (최근 30일)
Kushal Kumar
Kushal Kumar 2020년 10월 11일
편집: VBBV 2020년 10월 12일
Hi,
I am trying to figure something out,
  1. I want to add arrows on to the streamline plot. Streamline plot is a two dimensional. So I can't use slice function.
  2. Also want to check if I can normalise the arrows in the quiver plot arrows. The quiver plot show arrow which are not visible, I tried to scale but that is destorying the figure. So can any one suggest a better approch so that I can get all arrows with decent visible size. (Ref: Figure 1)
  댓글 수: 4
VBBV
VBBV 2020년 10월 12일
Use the index resource below
<https://matplotlib.org/3.1.1/gallery/images_contours_and_fields/quiver_demo.html#sphx-glr-gallery-images-contours-and-fields-quiver-demo-py>
VBBV
VBBV 2020년 10월 12일
편집: VBBV 2020년 10월 12일
Or use the autoscalefactor as
% if true
% code
% end
h = quiver(x,y,vx,vy);
set(h,'autoscale','on','autoscalefactor',1.5);
axis equal

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

답변 (0개)

카테고리

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

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by