How to plot 2D field profiles with field vectors?

9 次查看(过去 30 天)
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
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