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

Pubblicato il: 19 aprile 2021
sul canale di: Kimberly Fessel
48,627
1k

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:
https://github.com/kimfetti/Videos/bl...

Related Videos:
Change Matplotlib Figure Size:    • How to change the matplotlib figure size w...  
Full Matplotlib Tips PLAYLIST:    • Matplotlib Tips  

#matplotlib #dataviz


In questa pagina del sito puoi guardare il video online MATPLOTLIB 3D PLOTS including Scatter 3D and Surface Plots for Matplotlib Python || Matplotlib Tips della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Kimberly Fessel 19 aprile 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 48,627 volte e gli è piaciuto 1 mille spettatori. Buona visione!