Matplotlib Tutorial (2022): For Physicists, Engineers, and Mathematicians

  Рет қаралды 118,062

Mr. P Solver

Mr. P Solver

3 жыл бұрын

Check out my course on UDEMY: learn the skills you need for coding in STEM:
www.udemy.com/course/python-s...
This from-scratch tutorial on Matplotlib is designed specifically for those studying physics, mathematics, and engineering. Before watching this, you may want to brush up on numpy:
• NumPy Tutorial (2022):...
All code can be found here:
github.com/lukepolson/youtube...
Join the discord server!
/ discord

Пікірлер: 106
@raviroy7882
@raviroy7882 2 жыл бұрын
This is quite possibly one of the best channels I have come across to learn Python from Physics POV. I only regret why I didn't find it sooner. Please continue your good work. A lot of thanks to you. (Never have I subscribed to a channel this quickly)
@ApteraEV2024
@ApteraEV2024 9 ай бұрын
Is there a Dark Mode??❤
@viniciuscerqueirasilva9396
@viniciuscerqueirasilva9396 2 жыл бұрын
Timestamps: 00:00 Introduction 00:50 Making Plots Actually Look Nice 01:17 Quick Plotting: Line Plots 09:10 Quick Plotting: Histograms 12:27 A More Advanced API: Single Axes in one Figure 14:15 A More Advanced API: Multiple axes in 1 figure 18:41 Example 27:00 2D Plots: Filled-in contour plots 30:33 2D Plots: Contour Plot 32:12 2D Plots: 3D Surface Plot 33:40 2D Plots: StreamPlots 37:55 Image Reading 38:23 Animations
@madhavsirohi2225
@madhavsirohi2225 Жыл бұрын
I need this, thanks!
@abhishekjoshi8413
@abhishekjoshi8413 3 жыл бұрын
man i really appreciate you doing this, i can cannot overemphasize like how the right the timing of me finding the channel and you uploading the video, great work keep them coming
@ameerbux78666
@ameerbux78666 2 жыл бұрын
You're a life saver. The way you explain things is incredible, out of every single person I've watched, you're the best. Thank you for all the content!
@SubhodeepSarkar
@SubhodeepSarkar 3 жыл бұрын
Great stuff as always, especially liked how you indexed the axes in the subplots. It's a really cool trick and I will be using it from now on!
@Dofoos
@Dofoos 3 жыл бұрын
THANK YOU! I’ve been trying to quickly learn matplotlib these past few days to finish up a lab report for my internship you have no idea how beautiful your timing is
@Jack-hk6kl
@Jack-hk6kl Жыл бұрын
Clear, concise, straight to the point and efficiently fast. You’re godsend bro
@AAFX-OM
@AAFX-OM 2 жыл бұрын
These are amazing lectures/tutorials. Really appreciating your time and great work!
@Demolin7
@Demolin7 2 жыл бұрын
Your channel is amazing, it is incredibly hard to find this level of content even in paid courses. Thanks so much!
@niceday2015
@niceday2015 2 жыл бұрын
Enjoy it very much, not only how to do it, but also how to think before plotting step by step.Thank you very much!
@matthewkinahan3945
@matthewkinahan3945 3 жыл бұрын
Dedication! my mans is uploading while biking
@jhawar-ji
@jhawar-ji 3 жыл бұрын
You were biking along with him?👀
@matthewkinahan3945
@matthewkinahan3945 3 жыл бұрын
@@jhawar-ji nah I bailed on the biking part of the trip
@scienceaj2907
@scienceaj2907 2 жыл бұрын
Simple, clear and concise. You are an amazing teacher!
@AJ-et3vf
@AJ-et3vf 3 жыл бұрын
Awesome man! This is highly useful. Your tutorials are really lucid and informative and makes learning Python enjoyable and fulfilling. I just finished watching this video, but I'll definitely reference this when I need to do things in Matplotlib that I haven't done before like histograms and animations. Highly appreciate the animation part here. You explain it well and make it simple and understandable. Big thanks!
@MrPSolver
@MrPSolver 3 жыл бұрын
Thank you :)
@philippe6724
@philippe6724 3 ай бұрын
Luke is such a great instructor: one can learn numerous concepts in no time! Thank you-)
@unmeshduttachowdhury
@unmeshduttachowdhury 3 жыл бұрын
The science style really overcomes a lot of pain in matplotplib. Thank you again
@BijouBakson
@BijouBakson 4 ай бұрын
He's put so much in such a small amount of time it took me around 6 hours to do every single exercise. He is going very fast, but you can pause, slow it down, etc. Helped me a lot.
@sandeepmandrawadkar9133
@sandeepmandrawadkar9133 2 жыл бұрын
That's great help to beginners as well as the expertise. Thanks for super simplifying the concepts.
@zhoumin6927
@zhoumin6927 2 жыл бұрын
Excellent and fluent! I can learn a lot from your channel, thanks!
@Slyracoon666
@Slyracoon666 2 жыл бұрын
Just began my physics major and I’ve never used python before but your videos are really informative
@dzikrullahiakosile3856
@dzikrullahiakosile3856 2 жыл бұрын
Wow in which school ?
@jhawar-ji
@jhawar-ji 3 жыл бұрын
Tight layout for subplots should also have been included. That's always a plus one
@akshaygiram
@akshaygiram Жыл бұрын
Happy to find you! Hope to see you more!
@uorabhishek
@uorabhishek Жыл бұрын
Nice explanation. Needed exactly what you explained.Thanks for the informative video.
@WalterUnglaub
@WalterUnglaub Жыл бұрын
Thank you for doing all of this, it's incredibly insightful! Awesome tutorials!
@benhaenraets4369
@benhaenraets4369 Жыл бұрын
One of the best vids out there. Subscribed and liked!
@DeAngeloYouKnow
@DeAngeloYouKnow 3 жыл бұрын
Wonderful video my man keep up the good work.
@TheDavddd
@TheDavddd 2 жыл бұрын
Sadly I've spent years of mindless copy pasting from stack overflow and then tweaking the parameters. this video finally made me understand what the hell I was doing :D
@JasleenKaur-hw2tf
@JasleenKaur-hw2tf Жыл бұрын
The best tutorial videos! thank you!
@renegaed
@renegaed 2 жыл бұрын
Your videos are the best on KZbin on this topic. Please do more basics videos. I find it difficult to translate engineering problems to python without getting lost in the maths with multiple variables that can change. More info on standardising such problems to see how each variable will effect the result would be extremely useful.
@AnatolVZ
@AnatolVZ Жыл бұрын
Thank you for this tutorial!!!!! Very very usefull and simple for undersatanding!!!
@Crilic3
@Crilic3 Жыл бұрын
ANIMATION! YES! I can't believe it took me til end of semester to find a Numpy/Matplotlib animator!!
@Achirona16
@Achirona16 2 жыл бұрын
Great tutorial! I learnt a lot Thanks
@walkingphilosopher
@walkingphilosopher 2 жыл бұрын
I wish I have more than 1 account to like this video at least 5 times. Its very useful. Thanks.
@nikossioulas2067
@nikossioulas2067 2 жыл бұрын
Awesome tutorial! Thank you!
@diegoalgo1296
@diegoalgo1296 2 жыл бұрын
You're a legend my guy, thank you!
@Excalibur32
@Excalibur32 2 жыл бұрын
Great crash course, thank you!
@jacksondienes7710
@jacksondienes7710 Жыл бұрын
u seriously have the best vids mr.p
@tlmoller
@tlmoller 2 жыл бұрын
This is really good! Thanks a lot.
@rogerwilcoshirley2270
@rogerwilcoshirley2270 2 жыл бұрын
Nicely done, i went thru set by step with you (lots of stop and go) programming and studying all your examples as yet another review of MatPlotLib, really very good practice. Only issues for me: could not access those additional styles you mention at beginning, perhaps you could offer more exact details on how to get them loaded/accessible. Also on my ipad can't zoom the video so your code was really tiny, i could read it but if you ever reduce the font it would no longer be legible.
@madhavsirohi2225
@madhavsirohi2225 Жыл бұрын
Thanks a lot needed this!
@Nooreazy
@Nooreazy Жыл бұрын
This man is doing gods work.
@hsh7677
@hsh7677 3 жыл бұрын
Thank you Your content is awesome!!!
@nobody2937
@nobody2937 2 жыл бұрын
Very impressive... Thank you so much...
@danielarisamoraesesilva8485
@danielarisamoraesesilva8485 Жыл бұрын
Great job man!
@sergiolucas38
@sergiolucas38 2 жыл бұрын
Great video, man, thank you :)
@rhliarng
@rhliarng 2 жыл бұрын
Great tutorial!!
@alonsorodriguez5613
@alonsorodriguez5613 2 жыл бұрын
Thank you for making this video. Terrific job. Is it possible to save the figures while keeping the Science Plots Format you declared at the beginning of your Jupyter notebook?
@doruk5493
@doruk5493 2 жыл бұрын
Thank you for this vid bro. Please make a Seaborn or Plotly version of this.
@AnatolVZ
@AnatolVZ 2 жыл бұрын
Superb content!!
@Icingde4th
@Icingde4th 3 жыл бұрын
You're the GOAT
@fatemehlangari4921
@fatemehlangari4921 2 жыл бұрын
Thank youuu. Do you have any idea about creating a semantic graph? (an unweighted undirected graph)
@hectorg.m.3350
@hectorg.m.3350 Жыл бұрын
Hats off mate!!!
@dedperded
@dedperded 2 ай бұрын
thats a gem!
@imamkusnendar
@imamkusnendar Жыл бұрын
Your channel Sir, absolutley worth million subscriber or even more. Many thanks.How can I contact you if any questions i wan to ask? any website or else? btw i have major in physics too. hehe
@mohammedbaraka2591
@mohammedbaraka2591 2 жыл бұрын
Bro, thank you very much! I really enjoyed this tutorial! I want ask you about plotting high quality plots using this library for NASA cdf data! I use Pyspedas to analyse MMS spacecraft data but the plots is not that good! Many thanks!
@diegofernandez8881
@diegofernandez8881 3 жыл бұрын
So much thanks
@hadjkouidermohammed1958
@hadjkouidermohammed1958 3 жыл бұрын
Thank you for the great video....can you help me to make appear some data values on the curve. thank you..
@poxipollepi1
@poxipollepi1 2 жыл бұрын
How can I use the same text font/style as in the fig.text() at 26:43? The \Delta E gets compiled in italic dejaVu Sans by default and when I try to wrap it in \mathrm{} it just removes the italic and it still doesn't look roman like in the video.
@pavankumarkv4920
@pavankumarkv4920 2 жыл бұрын
Thanks man !.
@shivpratapsingh5766
@shivpratapsingh5766 3 жыл бұрын
Thank you Good sir, thanks a lot
@aramisbirkhimer2506
@aramisbirkhimer2506 Жыл бұрын
Does anyone know how you would modify the animation code to track the motion of the second mass with a solid line? I think it would show the chaos of the motion very well
@learnmore_today
@learnmore_today 3 жыл бұрын
Could you please make a video on Petsc solver, how to install it and use it from A to Z showing a couple of matrix inversion examples. I will be very grateful. Thanks
@MrPSolver
@MrPSolver 3 жыл бұрын
I'll take a look at it!
@baghdadiabdellatif1581
@baghdadiabdellatif1581 7 ай бұрын
Thank you
@CKPSchoolOfPhysics
@CKPSchoolOfPhysics 2 жыл бұрын
How to get different view of 3D projected graphs? like side view , top view with and without animation?
@subhabratamondal1896
@subhabratamondal1896 Жыл бұрын
Nice video.....please provide a code of how get the co ordinate values (x,y) of intersection points of two non linear curves in python. Plot visualization is also required in matplotlib. A lot of time it is needed in engineering calculation. Thank you.
@walaceelias
@walaceelias 3 ай бұрын
Can you make a video explain how to install scienceplots on jupyter notebook on this new version.
@lukamodric5499
@lukamodric5499 3 жыл бұрын
Men, thx for doing this
@revathyn5468
@revathyn5468 Ай бұрын
If possible pls post videos for family of Curves and for fluid mechanics pls
@naftab526
@naftab526 2 жыл бұрын
Thanks a lot BRO, the tutorial is very helpful to get an overall idea. Can anyone plz let me know how to get a MULTI-PANEL plot using data from a FILE? Thanks in advance.
@saidteacher3331
@saidteacher3331 9 ай бұрын
Which college did you go to P.Solver? any recommendations -college choice- for some one who loves Physics and coding ?
@simawpalmer7721
@simawpalmer7721 2 жыл бұрын
Thanks, but how to change the interpolation from linear to something like cubic or something else...
@frankrobert9199
@frankrobert9199 Жыл бұрын
great. when you recotd to make it size bigger, it would be better. it is a little small to look.
@user-er1lo1hj4x
@user-er1lo1hj4x 3 жыл бұрын
Hello..I am a PhD student in physics from Iraq..I hope you can help me find codes in the Python program to study the Fe(II)particle (ising model 2D)to determine the spin crossover of the electrons and find the energy..with many thanks to you.
@user-mt9nj8dd8y
@user-mt9nj8dd8y Жыл бұрын
Mr. P, may I ask how to install the Science Plots:?
@kanuchakraborty9190
@kanuchakraborty9190 2 жыл бұрын
Please I request you to do a tutorial on Electromagnetic wave animation in 3d in matplotlib
@archniki_
@archniki_ Жыл бұрын
I'd there guide for artists musicians and so on?
@Mateusz-rg4cd
@Mateusz-rg4cd 7 күн бұрын
"science" style doesn't work acctually. What shoud I do? And how to install Latex package?
@markkennedy9767
@markkennedy9767 9 ай бұрын
Why is the method set_title() and set_label() for axes/subplots, yet title() and xlabel() etc for plots. You're doing the exact same thing (seemingly) yet the syntax has different words for these operations. It suggest to me that axes/subplots and plots are fundamentally different structures.
@igorbrenno1459
@igorbrenno1459 3 жыл бұрын
I love youuuu....
@ravikumargariradhika7706
@ravikumargariradhika7706 Жыл бұрын
how to plot y=x|x| in python
@borisandfef
@borisandfef 3 жыл бұрын
What's the best way to import data from a csv file and manipulate it for plotting?
@joseftrojan7664
@joseftrojan7664 3 жыл бұрын
Try using Pandas!
@borisandfef
@borisandfef 3 жыл бұрын
@@joseftrojan7664 thank you so much! Worked perfectly.
@noelzinn6801
@noelzinn6801 2 жыл бұрын
How do I get your animation code (too fast to follow). Tks, Noel
@MrPSolver
@MrPSolver 2 жыл бұрын
All code is in the description!
@noelzinn6801
@noelzinn6801 2 жыл бұрын
@@MrPSolver Excellent. You're a remarkable find.
@adryanblack13
@adryanblack13 2 жыл бұрын
Can you please tell me your educational background. You are quite intelligent
@alonalon8794
@alonalon8794 2 жыл бұрын
7:15 x2 and x are of different dimensions. somehow it works for you..I got en error
@jorgeluismedina1548
@jorgeluismedina1548 3 жыл бұрын
why does my plots look blurry in my notebook compared to yours? :(
@waqqiali2960
@waqqiali2960 2 жыл бұрын
I think increasing dpi might help e.g. plt.figure(dpi=100)
@web3tel
@web3tel Жыл бұрын
How one install SciencePlots, please? Is it "pip install SciencePlots" ?
@amangoyal1680
@amangoyal1680 Жыл бұрын
You have to add channel for it
@abdusalomxudoyberdiev7606
@abdusalomxudoyberdiev7606 2 жыл бұрын
Hello. I‘m from Uzbekistan. I‘m student. Can you help me by in pyton
@aliexpress.official
@aliexpress.official 3 жыл бұрын
Fantastic video as always. The fact that python plotting doesnt have a GUI like in MATLAB is SO tiring.
@MrPSolver
@MrPSolver 3 жыл бұрын
Absolutely. That being said, you kind of get used to it.
@samersalama
@samersalama 2 жыл бұрын
Why this video in your python play list, it is not python !
@mayazhussain
@mayazhussain 2 ай бұрын
I came to KZbin to waste time not to learn something useful 😢
@sparshghimire2426
@sparshghimire2426 3 жыл бұрын
First :)
@rubayetalam8759
@rubayetalam8759 2 жыл бұрын
hey! you need to work on your playlist. Everything is a mess! thanks tho.
SymPy Tutorial (2022): For Physicists, Engineers, and Mathematicians
1:07:59
Matplotlib Full Python Course - Data Science Fundamentals
1:02:41
NeuralNine
Рет қаралды 127 М.
Spot The Fake Animal For $10,000
00:40
MrBeast
Рет қаралды 189 МЛН
小宇宙竟然尿裤子!#小丑#家庭#搞笑
00:26
家庭搞笑日记
Рет қаралды 9 МЛН
Stay on your way 🛤️✨
00:34
A4
Рет қаралды 24 МЛН
ОБЯЗАТЕЛЬНО СОВЕРШАЙТЕ ДОБРО!❤❤❤
00:45
NumPy Tutorial (2022): For Physicists, Engineers, and Mathematicians
1:32:42
SciPy Tutorial (2022): For Physicists, Engineers, and Mathematicians
1:33:29
1st Year Calculus, But in PYTHON
32:13
Mr. P Solver
Рет қаралды 122 М.
Seaborn Is The Easier Matplotlib
22:39
NeuralNine
Рет қаралды 166 М.
10 Udemy Courses Every Developer SHOULD Own (NOT just coding)
19:53
Travis Media
Рет қаралды 878 М.
Solving real world data science tasks with Python Pandas!
1:26:07
Keith Galli
Рет қаралды 1,5 МЛН
Water powered timers hidden in public restrooms
13:12
Steve Mould
Рет қаралды 685 М.
iPhone socket cleaning #Fixit
0:30
Tamar DB (mt)
Рет қаралды 18 МЛН
АЙФОН 20 С ФУНКЦИЕЙ ВИДЕНИЯ ОГНЯ
0:59
КиноХост
Рет қаралды 1,2 МЛН
8 Товаров с Алиэкспресс, о которых ты мог и не знать!
49:47
РасПаковка ДваПаковка
Рет қаралды 173 М.
КРУТОЙ ТЕЛЕФОН
0:16
KINO KAIF
Рет қаралды 6 МЛН
Как бесплатно замутить iphone 15 pro max
0:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 8 МЛН
Опасность фирменной зарядки Apple
0:57
SuperCrastan
Рет қаралды 11 МЛН