MATPLOTLIB 3D PLOTS including Scatter 3D and Surface Plots for Matplotlib Python || Matplotlib Tips

preview_player
Показать описание
Learn how to build matplotlib 3D plots in this Matplotlib Tips video including 3D scatter plots, 3D line plots, surface plots, and wireframes. I begin by showing you how to set up your 3D axes using the projection keyword. Then we plot 3D scatter plot data with matplotlib Python's scatter3D command and label the x, y, and z axes. I also show you how to rotate the view angle of the 3D plot in matplotlib using view_init. Next I show you an example of the 3D line plot in matplotlib using plot3D. We then move on to plot surfaces using a function for z and a meshgrid for x and y. And I also demonstrate how to create a 3-dimensional wireframe with matplotlib and how your grid effects your mesh size. Finally, we use the Jupyter magic command "% matplotlib notebook" to make our 3D plots interactive. You can use your mouse to drag the plot around and rotate it to look at different angles.

0:00 Introduction
0:12 3D Scatter Plot
2:42 Rotate Plot Angle
3:58 3D Line Plot
4:58 Surface Plots
8:19 Wireframes
9:35 Interactive 3D Plots
10:58 DANCE PARTY!

GitHub Code:

Related Videos:

#matplotlib #dataviz
Рекомендации по теме
Комментарии
Автор

Omg, I'm a 3D modeler, this video means so much to me, thank you! It's a normal distribution represented in 3D, genious!

BrunoAraujo-polm
Автор

Thank you so much ! I was looking for an explanation this clear, keep the good work !

victorcouloume
Автор

This is the best video about 3d graphics on matplotlib!!!

vitorrosar
Автор

Great professionally made video.
You look great/alive in front of camera

higheloguy
Автор

Still on the middle of the document, Me studying this, I already admire it through all dimension. Thank you

rabinthapa
Автор

Thank you for you videos. They have helped me a lot.

Cheers!!!

vitorribeirosa
Автор

tysm! never knew 3d plots are possible with matplotlib alone

stlo
Автор

Brilliant and clear tutorial, appreciated.

zakariaabderrahmanesadelao
Автор

thank you this was very nicely explained.

SumandeepSinghRanamem
Автор

very useful. clarity defined this presentation

abdullahimuhammad
Автор

Very instructive and enjoyable. Thank you.

lucapassani
Автор

That was helpful. Thank you for sharing :)

hazhir
Автор

I really appreciate your video. It's quite helpful

gusinthecloud
Автор

Thank you very much for your videos, they are great and very informative.
Do you plan to make some video about contours, color maps, etc., as well?
Thank you in advance for your reply 🙂

matteobarnaba
Автор

How to make two surface plots in 3D with different x & y scales (like twin axis in 2D plots)? ...Thanks!

BISWAJITMONDAL-vjpy
Автор

When I try the interactive thing by adding"%matplotlib notebook", it returns an error that says "No module named 'ipympl'".

nothing-ytnu
Автор

Ma'am can we create 3d surface plot by taking a grayscale image as an input

SURAJITHDE
Автор

excuseme sir, why i try to sketch another equation but the output the the same like your equation 50-x^2-y^2 ?

darklee
Автор

Very nice hands on. have a query. How to create a surface with x, y, z data points instead of knowing the z equation as a function of x, y.

prabup
Автор

How do you include scatter data and surface on one plot? I have data points in 3 dimensions and I need to plot a surface that was obtained by B-Spline regression along with the data points.

themightyquinn