How to plot 2D field profiles with field vectors?

조회 수: 10 (최근 30일)
MD AZIZ AR RAHMAN
MD AZIZ AR RAHMAN 2022년 7월 4일
편집: Image Analyst 2022년 7월 5일
I want to plot like the first attached surface plot with field lines and arrows. I managed to plot the second image so far. Please help.

채택된 답변

Image Analyst
Image Analyst 2022년 7월 4일
Try quiver
  댓글 수: 2
MD AZIZ AR RAHMAN
MD AZIZ AR RAHMAN 2022년 7월 5일
I tried quiver, but it gives discreet field lines, I am looking for continuous lines
Image Analyst
Image Analyst 2022년 7월 5일
편집: Image Analyst 2022년 7월 5일
contour or fcontour plots those lines but I don't believe it puts arrows. So you dould use that then create the arrows and place them afterwards.
Also see this answer:

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

추가 답변 (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