How to plot 2D field profiles with field vectors?

8 vues (au cours des 30 derniers jours)
MD AZIZ AR RAHMAN
MD AZIZ AR RAHMAN le 4 Juil 2022
Modifié(e) : Image Analyst le 5 Juil 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.

Réponse acceptée

Image Analyst
Image Analyst le 4 Juil 2022
Try quiver
  2 commentaires
MD AZIZ AR RAHMAN
MD AZIZ AR RAHMAN le 5 Juil 2022
I tried quiver, but it gives discreet field lines, I am looking for continuous lines
Image Analyst
Image Analyst le 5 Juil 2022
Modifié(e) : Image Analyst le 5 Juil 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:

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Vector Fields dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by