17. Python to make nice figures. Part III: advanced plots

preview_player
Показать описание
This is part 3 in a 3-part series on making beautiful scientific figures in python. In this video, I will cover some advanced scientific plots in python. 

00:00 Generic advanced plot

6:45 stacked plots with fill between

11:51 multipanel plots

23:29 heatmaps

37:24 multiple axes plots

44:32 Rietveld refinement diffraction plots

51:24 3D plots
Рекомендации по теме
Комментарии
Автор

From zero to be able to perform nice figures on python, thanks to you. Continue like this!!

maravasthimartinez
Автор

My sincere compliments on your superb video. Lots of helpful coding tips to move programmers to a higher level, plus no annoying background music.

electron
Автор

Thanks for the amazing series on plotting!
The following 2 lines address the issue mentioned at 43:53


uselessmail
Автор

jeez I'm only a third of the way through and already learnt lots of new meaty goodness. I love that iloc trick about returning every nth value (I can't even find that in the documentation). And the gridspec is new to me as are the text() methods on graphs. And also getting the colours out of SNS palettes.

I've dipped my toes into seaborn and others but I don't really like over fancy graphs and I feel it's important to get fluent with the basics - matplotlib - before going mad with plotly and dash

Look forward to watching the rest

WildRover
Автор

Excellent tutorial. Thank you so much.

nachovilla
Автор

thank you Taylor! these 3 videos were super useful for me

NavidExperiences
Автор

Full steam ahead on the python lectures, i may have to cite you on my research paper lol

buckfever
Автор

Thank you for these very useful videos!

PaoloCondo
Автор

So helpful for people who want to switch from R to Python. Awsome.
It would be really helpful if you have some time someday to make a video for common statistical tests: Two tailed unpaired or paired t test, mann-whitney, wilcoxon test, anova test, repeated measures anova ?

surya-tddg
Автор

Hello Taylor, i would like to know if there is a way to smoothen the aspect of the surface plot instead of getting a mesh like surface ? I am working on a hardness cartography and i dont have a lot of data points so i need the figure to be smoother in a way we can get a nice extrapolated colors between the points. thank you in advance

bencherifmokhtar
Автор

Great video thank Maybe would be nice to have ternary diagram with heatmapping or contour :)

vanessaarangomarin
Автор

Cool tutorial!
Though I fail to see any difference in your heatmap with a heat map directly on df.loc[504:4066, 'y1':]**(1/1e5)
I also fail to see any reason to separate the variables. x1, y1 to y21
but maybe I'm missing something ?
You can rename the columns by
pressure[:0] = df.columns[0] # prepends the column name 'Q' to pressure list
df.columns = pressure

if one really wanted to fix the data to more tidy format one can
pd.melt(df, id_vars='Q', var_name='Pressure (GPa)', value_name= 'Intensity')

Robert-bwjk
Автор

Hi, great work. I have a question, What is the font that you use to the plots?

ropon-palaciosg.
Автор

Thanks a lot for the nice videos. I wonder about how to merge additional axes in contour plots as in the figure below?

mohemmedbakhiet
Автор

Could you make a volume plot to add a dimension to the surface plot? For example if you wanted to show how 3 input varibles make an output.

braydenhalvorson
Автор

Can you please plot the different range with percentage graph? For eg. You can see tidal deformation plot in neutron star merger

Naresh_Patra
Автор

Nive video. Do you how to produce similar plots using a vtk file with fem calculix results from freecad as a source? Could you point me in some website with info about this?

mandregomes
Автор

I need to admit once more that you are one the greatest people I've ever known (at least virtually) on this earth. Thank God bring so lovely and dedicated people like you to share their knowledge in a way that is so easy and exciting to learn. I really find a role model in you and the way how you teach. In November, I got a position to start my Ph.D. in Germany on a topic related to Ceramics (Mxenes and 3d printing) and two of the reasons why I decided to do it were my passion for teaching ( I wish I could someday teach as nice as you do) and the great world of materials helped by informatics just waiting for us.

Thank you so much again, amigo Taylor from another human being just following his passion and finding incredible (virtual) mentors like you.

post data. I just started to see the list of videos about ceramics, unfortunately, some of them are "hidden" on Youtube. It would be more than great if there would be a form to have access to them. I also understand if it is not possible.

Gracias por todo y mucho éxito en Inglaterra!

ferchofs