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

  Рет қаралды 112,951

Mr. P Solver

Mr. P Solver

2 жыл бұрын

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

Пікірлер: 104
@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 7 ай бұрын
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 2 жыл бұрын
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
@matthewkinahan3945
@matthewkinahan3945 2 жыл бұрын
Dedication! my mans is uploading while biking
@jhawar-ji
@jhawar-ji 2 жыл бұрын
You were biking along with him?👀
@matthewkinahan3945
@matthewkinahan3945 2 жыл бұрын
@@jhawar-ji nah I bailed on the biking part of the trip
@BijouBakson
@BijouBakson 2 ай бұрын
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.
@SubhodeepSarkar
@SubhodeepSarkar 2 жыл бұрын
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 2 жыл бұрын
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
@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!
@AAFX-OM
@AAFX-OM 2 жыл бұрын
These are amazing lectures/tutorials. Really appreciating your time and great work!
@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 ?
@Jack-hk6kl
@Jack-hk6kl Жыл бұрын
Clear, concise, straight to the point and efficiently fast. You’re godsend bro
@Demolin7
@Demolin7 2 жыл бұрын
Your channel is amazing, it is incredibly hard to find this level of content even in paid courses. Thanks so much!
@philippe6724
@philippe6724 Ай бұрын
Luke is such a great instructor: one can learn numerous concepts in no time! Thank you-)
@unmeshduttachowdhury
@unmeshduttachowdhury 2 жыл бұрын
The science style really overcomes a lot of pain in matplotplib. Thank you again
@jhawar-ji
@jhawar-ji 2 жыл бұрын
Tight layout for subplots should also have been included. That's always a plus one
@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!
@scienceaj2907
@scienceaj2907 Жыл бұрын
Simple, clear and concise. You are an amazing teacher!
@AJ-et3vf
@AJ-et3vf 2 жыл бұрын
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 2 жыл бұрын
Thank you :)
@sandeepmandrawadkar9133
@sandeepmandrawadkar9133 Жыл бұрын
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!
@benhaenraets4369
@benhaenraets4369 Жыл бұрын
One of the best vids out there. Subscribed and liked!
@akshaygiram
@akshaygiram Жыл бұрын
Happy to find you! Hope to see you more!
@WalterUnglaub
@WalterUnglaub 11 ай бұрын
Thank you for doing all of this, it's incredibly insightful! Awesome tutorials!
@uorabhishek
@uorabhishek 11 ай бұрын
Nice explanation. Needed exactly what you explained.Thanks for the informative video.
@DeAngeloYouKnow
@DeAngeloYouKnow 2 жыл бұрын
Wonderful video my man keep up the good work.
@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.
@JasleenKaur-hw2tf
@JasleenKaur-hw2tf Жыл бұрын
The best tutorial videos! thank you!
@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
@nikossioulas2067
@nikossioulas2067 2 жыл бұрын
Awesome tutorial! Thank you!
@rogerwilcoshirley2270
@rogerwilcoshirley2270 Жыл бұрын
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.
@AnatolVZ
@AnatolVZ Жыл бұрын
Thank you for this tutorial!!!!! Very very usefull and simple for undersatanding!!!
@diegoalgo1296
@diegoalgo1296 2 жыл бұрын
You're a legend my guy, thank you!
@Achirona16
@Achirona16 2 жыл бұрын
Great tutorial! I learnt a lot Thanks
@danielarisamoraesesilva8485
@danielarisamoraesesilva8485 Жыл бұрын
Great job man!
@Excalibur32
@Excalibur32 2 жыл бұрын
Great crash course, thank you!
@jacksondienes7710
@jacksondienes7710 Жыл бұрын
u seriously have the best vids mr.p
@tlmoller
@tlmoller Жыл бұрын
This is really good! Thanks a lot.
@madhavsirohi2225
@madhavsirohi2225 Жыл бұрын
Thanks a lot needed this!
@hsh7677
@hsh7677 2 жыл бұрын
Thank you Your content is awesome!!!
@Crilic3
@Crilic3 Жыл бұрын
ANIMATION! YES! I can't believe it took me til end of semester to find a Numpy/Matplotlib animator!!
@sergiolucas38
@sergiolucas38 2 жыл бұрын
Great video, man, thank you :)
@walkingphilosopher
@walkingphilosopher 2 жыл бұрын
I wish I have more than 1 account to like this video at least 5 times. Its very useful. Thanks.
@nobody2937
@nobody2937 2 жыл бұрын
Very impressive... Thank you so much...
@doruk5493
@doruk5493 Жыл бұрын
Thank you for this vid bro. Please make a Seaborn or Plotly version of this.
@alonsorodriguez5613
@alonsorodriguez5613 Жыл бұрын
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?
@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.
@rhliarng
@rhliarng 2 жыл бұрын
Great tutorial!!
@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!!!
@AnatolVZ
@AnatolVZ Жыл бұрын
Superb content!!
@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!
@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
@Nooreazy
@Nooreazy Жыл бұрын
This man is doing gods work.
@Icingde4th
@Icingde4th 2 жыл бұрын
You're the GOAT
@dedperded
@dedperded 11 күн бұрын
thats a gem!
@hadjkouidermohammed1958
@hadjkouidermohammed1958 2 жыл бұрын
Thank you for the great video....can you help me to make appear some data values on the curve. thank you..
@diegofernandez8881
@diegofernandez8881 2 жыл бұрын
So much thanks
@pavankumarkv4920
@pavankumarkv4920 2 жыл бұрын
Thanks man !.
@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.
@saidteacher3331
@saidteacher3331 7 ай бұрын
Which college did you go to P.Solver? any recommendations -college choice- for some one who loves Physics and coding ?
@learnmore_today
@learnmore_today 2 жыл бұрын
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 2 жыл бұрын
I'll take a look at it!
@walaceelias
@walaceelias 28 күн бұрын
Can you make a video explain how to install scienceplots on jupyter notebook on this new version.
@CKPSchoolOfPhysics
@CKPSchoolOfPhysics 2 жыл бұрын
How to get different view of 3D projected graphs? like side view , top view with and without animation?
@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
@baghdadiabdellatif1581
@baghdadiabdellatif1581 5 ай бұрын
Thank you
@simawpalmer7721
@simawpalmer7721 2 жыл бұрын
Thanks, but how to change the interpolation from linear to something like cubic or something else...
@user-er1lo1hj4x
@user-er1lo1hj4x 2 жыл бұрын
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.
@shivpratapsingh5766
@shivpratapsingh5766 2 жыл бұрын
Thank you Good sir, thanks a lot
@user-mt9nj8dd8y
@user-mt9nj8dd8y 10 ай бұрын
Mr. P, may I ask how to install the Science Plots:?
@lukamodric5499
@lukamodric5499 2 жыл бұрын
Men, thx for doing this
@naftab526
@naftab526 Жыл бұрын
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.
@frankrobert9199
@frankrobert9199 Жыл бұрын
great. when you recotd to make it size bigger, it would be better. it is a little small to look.
@markkennedy9767
@markkennedy9767 6 ай бұрын
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.
@archniki_
@archniki_ Жыл бұрын
I'd there guide for artists musicians and so on?
@kanuchakraborty9190
@kanuchakraborty9190 2 жыл бұрын
Please I request you to do a tutorial on Electromagnetic wave animation in 3d in matplotlib
@noelzinn6801
@noelzinn6801 Жыл бұрын
How do I get your animation code (too fast to follow). Tks, Noel
@MrPSolver
@MrPSolver Жыл бұрын
All code is in the description!
@noelzinn6801
@noelzinn6801 Жыл бұрын
@@MrPSolver Excellent. You're a remarkable find.
@borisandfef
@borisandfef 2 жыл бұрын
What's the best way to import data from a csv file and manipulate it for plotting?
@joseftrojan7664
@joseftrojan7664 2 жыл бұрын
Try using Pandas!
@borisandfef
@borisandfef 2 жыл бұрын
@@joseftrojan7664 thank you so much! Worked perfectly.
@adryanblack13
@adryanblack13 2 жыл бұрын
Can you please tell me your educational background. You are quite intelligent
@web3tel
@web3tel Жыл бұрын
How one install SciencePlots, please? Is it "pip install SciencePlots" ?
@amangoyal1680
@amangoyal1680 Жыл бұрын
You have to add channel for it
@ravikumargariradhika7706
@ravikumargariradhika7706 Жыл бұрын
how to plot y=x|x| in python
@jorgeluismedina1548
@jorgeluismedina1548 2 жыл бұрын
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)
@igorbrenno1459
@igorbrenno1459 2 жыл бұрын
I love youuuu....
@abdusalomxudoyberdiev7606
@abdusalomxudoyberdiev7606 2 жыл бұрын
Hello. I‘m from Uzbekistan. I‘m student. Can you help me by in pyton
@alonalon8794
@alonalon8794 2 жыл бұрын
7:15 x2 and x are of different dimensions. somehow it works for you..I got en error
@samersalama
@samersalama 2 жыл бұрын
Why this video in your python play list, it is not python !
@aliexpress.official
@aliexpress.official 2 жыл бұрын
Fantastic video as always. The fact that python plotting doesnt have a GUI like in MATLAB is SO tiring.
@MrPSolver
@MrPSolver 2 жыл бұрын
Absolutely. That being said, you kind of get used to it.
@sparshghimire2426
@sparshghimire2426 2 жыл бұрын
First :)
@mayazhussain
@mayazhussain 14 күн бұрын
I came to KZbin to waste time not to learn something useful 😢
@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
Рет қаралды 109 М.
어른의 힘으로만 할 수 있는 버블티 마시는법
00:15
진영민yeongmin
Рет қаралды 8 МЛН
1❤️
00:20
すしらーめん《りく》
Рет қаралды 32 МЛН
NumPy Tutorial (2022): For Physicists, Engineers, and Mathematicians
1:32:42
How I make science animations
43:39
Artem Kirsanov
Рет қаралды 674 М.
All Types of Fourier Transforms in PYTHON
30:44
Mr. P Solver
Рет қаралды 50 М.
SciPy Tutorial (2022): For Physicists, Engineers, and Mathematicians
1:33:29
NumPy vs SciPy
7:56
IBM Technology
Рет қаралды 29 М.
You Should Be Using This For Work/Research in Python | OOP Tutorial
34:23
Seaborn Is The Easier Matplotlib
22:39
NeuralNine
Рет қаралды 157 М.
I gave 127 interviews. Top 5 Algorithms they asked me.
8:36
Sahil & Sarra
Рет қаралды 589 М.
Stable Diffusion in Code (AI Image Generation) - Computerphile
16:56
Computerphile
Рет қаралды 283 М.
Эффект Карбонаро и бумажный телефон
1:01
История одного вокалиста
Рет қаралды 2,6 МЛН
Индуктивность и дроссель.
1:00
Hi Dev! – Электроника
Рет қаралды 1,5 МЛН
Не обзор DJI Osmo Pocket 3 Creator Combo
1:00
superfirsthero
Рет қаралды 618 М.
Kalem ile Apple Pen Nasıl Yapılır?😱
0:20
Safak Novruz
Рет қаралды 1,2 МЛН