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 Center および File ExchangeVector Fields についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by