How to plot 2D field profiles with field vectors?

10 visualizaciones (últimos 30 días)
MD AZIZ AR RAHMAN
MD AZIZ AR RAHMAN el 4 de Jul. de 2022
Editada: Image Analyst el 5 de Jul. de 2022
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.

Respuesta aceptada

Image Analyst
Image Analyst el 4 de Jul. de 2022
Try quiver
  2 comentarios
MD AZIZ AR RAHMAN
MD AZIZ AR RAHMAN el 5 de Jul. de 2022
I tried quiver, but it gives discreet field lines, I am looking for continuous lines
Image Analyst
Image Analyst el 5 de Jul. de 2022
Editada: Image Analyst el 5 de Jul. de 2022
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:

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Vector Fields en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by