2D - Plotting Scalar and Vector Fields with Python

Поделиться
HTML-код
  • Опубликовано: 22 авг 2024

Комментарии • 3

  • @MrEo89
    @MrEo89 2 года назад

    Ironically as an enrolled student at Wayne I would really love to go through those notebooks myself. It would make physics 2 much easier to understand if I can graph much of the fields myself. Any chance you could make the repo open to the public?

  • @gicelasaucedo1549
    @gicelasaucedo1549 4 года назад

    Does anyone located the error on the combined contour and gradient plot?

    • @complex_variation
      @complex_variation 4 года назад +1

      Hi, in the function plt.quiver if we change the order of gx by gy and gy by gx, it seems to show properly, but if I'm not mistaken the quiver function is in the correct form, you could also "fix it" if you change the order of the variables gx,gy when defining the gradient, I don't know the intrinsic reason why is not showing properly in the first place or why you need to do those changes but it seems to work that way.