The Python Function You NEED For 2D Data

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

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

  • @MrPinknumber
    @MrPinknumber 2 года назад +27

    Really love these tutorials you do about scientific programming. Thank you :)

  • @EarlWallaceNYC
    @EarlWallaceNYC 2 года назад +3

    I have used this function many times, but never really understood it. Thanks for a very helpful video.

  • @sagsolyukariasagi
    @sagsolyukariasagi 2 года назад +6

    Great! I was just trying to making sense of np.meshgrid, for a project. Thank you for the best explanation!

  • @sehbanomer8151
    @sehbanomer8151 2 года назад +5

    Great tutorial!
    alternatively, you can take advantage of numpy broadcasting semantics
    x = np.linspace(-5, 5, 500)
    f = (x[:, None] ** 2 + x[None, :] ** 2 < 1).astype(float)

    • @frankkoslowski6917
      @frankkoslowski6917 2 года назад +1

      You might also find that .astype(float) may be omitted in the instruction and a slightly crisper-looking yellow circle thus be obtained.
      Which left one with the conclusion that plt.pcolormer(xv, yv, f) is quite happy processing expressions intrinsically boolean without requiring any floating-point analog.

  • @tommychong4prez
    @tommychong4prez Год назад

    Thank you for the tutorial! I needed to get my head around meshgrid for my machine learning course and this helped quite a lot.

  • @dan_pal
    @dan_pal 11 месяцев назад +1

    Best explanation in the whole site. Thank you so much!

  • @prietjepruck
    @prietjepruck Год назад +1

    Yet another great tutorial. These tutorials help me a lot conquering python.

  • @okiesumos
    @okiesumos 10 месяцев назад +1

    Best meshgrid explanation!

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

    Love Your Videos. You have no idea how much you have helped me during my exam days.

  • @zukofire6424
    @zukofire6424 Год назад

    you talk with your hands like a physicst (not like italians!) I love that, thx for the contents!

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

    Simply awesome...More on p.functions please...Really essential.

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

    Try omitting .astype(float)
    and be as surprised as this one was,
    that passing a boolean array `f` as argument to plt.pcolormesh(xv, yv, f)
    is not only perfectly legal but also affords us a sharper outline of the yellow circle.

  • @Louis-ml1zr
    @Louis-ml1zr 2 года назад

    A série on python functions Amazing idea !

  • @mechtorious
    @mechtorious Год назад

    What theme is that used in the notebook?

  • @OptiMystic-IN
    @OptiMystic-IN Месяц назад

    Your image is in npy extension??
    Would it also work for jpg and png?

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

    how to plot from data file

  • @DeShark88
    @DeShark88 Год назад

    Could this be used for calculating numerical solutions of, e.g. solutions of Poisson/Laplace equation with masked boundary conditions? That would make an awesome video!

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

    I want to get the value of f when i put mouse on the graph, is there any function for doing that?

  • @ahmadhambaliismail3178
    @ahmadhambaliismail3178 Год назад

    does anyone know how to plot using data file?

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

    How are you expanding & collapsing the code cells? Or is this just vid editing?

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

    Could you show how to plot 3D graphs ? And thanks for your content, it help me a lot!

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

    Thankyou so much, you're a life saver!!

  • @arvinnick
    @arvinnick Год назад

    It was mind-blowing...

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

    np.arange(10) does the same thing as np.arange(0,10,1)

  • @ahrampark5150
    @ahrampark5150 10 месяцев назад

    Fabulous. Thanks!

  • @jaimecaballero2577
    @jaimecaballero2577 Год назад

    Very explanation!

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

    Deeply love this series. Thank you so much! Keep going.

  • @bugi6606
    @bugi6606 Год назад

    Thank You! Finally I got it!

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

    thanks

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

    Really a good video. 👍

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

    you get what you f*cking deserve, a sub :)

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

    helpful 👍

  • @harp-692
    @harp-692 2 года назад

    can you solve my P?

  • @artiekushner6849
    @artiekushner6849 23 дня назад

    useful content, but heavy coke energy from the amount of gesticulation

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

    👏👏💪

  • @tilkesh
    @tilkesh Год назад

    Thanks