## Matplotlib Tutorial 30 – 3d scatter plot

[ad_1]

Welcome to another 3D Matplotlib tutorial, covering how to graph a 3D scatter plot.

Graphing a 3D scatter plot is very similar to the typical scatter plot as well as the 3D wire_frame.

sample code: http://pythonprogramming.net
http://hkinsley.com
https://twitter.com/sentdex
http://sentdex.com
http://seaofbtc.com

Source

[ad_2]

### Comment List

• sentdex
December 31, 2020

DOING THIS FOR A LIVING IS COMPLETE SHIT WORK

• sentdex
December 31, 2020

Dude! You are just importing the mplot3d. I don't seem to see where it is actually used. Code works just fine without the import.

• sentdex
December 31, 2020

Hi what is name of program which you use to draw graph?

• sentdex
December 31, 2020

I want to add a 4th parameter say 'c' to the data, where x,y,z will be the co-ordinates and c is a parameter of varying nature. I want to show the variation of 'c' by a color varying legend, How do I do that?

• sentdex
December 31, 2020

Thank you for all this great tutorials. I want to developt a code and visiulation for atomic structure. For example a H2O structure, two H and one O. I watched this tutorial and create some spherical models for H and O but its aspect ratio is not 1/1. For example when matplotlib draw a spherical H atom actually H is not spherical because of aspect ratio is not 1. How can i solve this problem? Or my general question is : Matplotlib is good for my job or i should try another modules? Actually i want to create a new modules for atomic structure. Thanks again…

• sentdex
December 31, 2020

Thank you!

• sentdex
December 31, 2020

how can i give movements to my 3D plotted image in jupyter notebook?

• sentdex
December 31, 2020

Hey! First just wanna thank you for the really good suportive contents you made and share with the world.
So the question is the following: I have a dataframe with a lot of data (1782 entries) and I want to create a 3d scatterplot with them. But when I do the plt.show() it only appears a blank window. Can you explain me why?
Thks once again

• sentdex
December 31, 2020

Hey! your videos are very helpful to learn.I have a doubt, can we shit or move the plotted object from it position?like can we move an object plotted in 3d from say 1(in x axis) to 3(in x axis)? is there any way to do so?