-1
$\begingroup$

I am reading articles of vector fields, such as magnetic field and sound field. I am very curious about how the vector fields are drawn, such as the pictures shown below.

Any reference to this question would be greatly appreciated, especially those that using Matlab to plot.

enter image description here

enter image description here

$\endgroup$
  • 2
    $\begingroup$ I'm voting to close this question as off-topic. $\endgroup$ – Qmechanic Jul 19 '18 at 6:51
-1
$\begingroup$

There are predefined matlab functions to draw plots such as these, the first one is something called "contour" and the second is called "quiver". Check this link out

$\endgroup$
  • $\begingroup$ @ecook No problem, please mark the reply as the answer $\endgroup$ – DakkVader Jul 19 '18 at 6:55

Not the answer you're looking for? Browse other questions tagged or ask your own question.