The Python Function You NEED For 2D Data
Ғылым және технология
Check out my course on UDEMY: learn the skills you need for coding in STEM:
www.udemy.com/course/python-s...
This video covers the numpy.meshgrid function:
numpy.org/doc/stable/referenc...
Code:
github.com/lukepolson/youtube...
Discord:
/ discord
Пікірлер: 39
Really love these tutorials you do about scientific programming. Thank you :)
@DrAtomics
2 жыл бұрын
Same 🤙
Great! I was just trying to making sense of np.meshgrid, for a project. Thank you for the best explanation!
Thank you for the tutorial! I needed to get my head around meshgrid for my machine learning course and this helped quite a lot.
Love Your Videos. You have no idea how much you have helped me during my exam days.
I have used this function many times, but never really understood it. Thanks for a very helpful video.
Yet another great tutorial. These tutorials help me a lot conquering python.
Simply awesome...More on p.functions please...Really essential.
Best explanation in the whole site. Thank you so much!
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
2 жыл бұрын
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.
Best meshgrid explanation!
A série on python functions Amazing idea !
Thankyou so much, you're a life saver!!
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.
Could you show how to plot 3D graphs ? And thanks for your content, it help me a lot!
you talk with your hands like a physicst (not like italians!) I love that, thx for the contents!
Really a good video. 👍
Fabulous. Thanks!
I didn't know about pcolormesh... will try this out
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!
Very explanation!
Deeply love this series. Thank you so much! Keep going.
It was mind-blowing...
I want to get the value of f when i put mouse on the graph, is there any function for doing that?
How are you expanding & collapsing the code cells? Or is this just vid editing?
Thank You! Finally I got it!
What theme is that used in the notebook?
helpful 👍
does anyone know how to plot using data file?
Thanks
how to plot from data file
np.arange(10) does the same thing as np.arange(0,10,1)
thanks
👏👏💪
you get what you f*cking deserve, a sub :)
can you solve my P?
@justarandomcatwithmoustache
2 жыл бұрын
Too small to slove Leorio
@harp-692
2 жыл бұрын
@@justarandomcatwithmoustache let mr.P check first ;)