3D Charts in Matplotlib for Python: Multiple datasets scatter plot

preview_player
Показать описание
Link to the full playlist:
Sometimes people want to plot a scatter plot and compare different datasets to see if there is any similarities. Here, you are shown how to chart two sets of data and how to specifically mark them and color them differently.

The following sample code utilizes the Axes3D function of matplot3d in Matplotlib. We use two sample sets, each with their own X Y and Z data. From here, we use .scatter to plot them up, 'c' to reference color and 'marker' to reference the shape of the plot marker.

How to generate interactive 3d scatterplots in Matplotlib and Python with multiple datasets.
Рекомендации по теме
Комментарии
Автор

Matplotlib does not, but it leaves the door open to really anything. It can be programmed, or you can use scipy's stats. Google scipy chi2 for the documentation and download scipy of course if you don't have it.

sentdex
Автор

A gem of a playlist - many many thanks. Well done.

richard_wenner
Автор

This was exactly what I was looking for to visualize my data. THANKS :D

vr
Автор

hi, what kind of viewer do you use to make it rotate? :-)

gugget
Автор

I have a LIST called 'samples', I am loading several images into this LIST from 2 different folders, let's say Folder1 and Folder2. Then I convert this list to a DataFrame and plot them in a 2D scatter plot. I want the scatter plot to show all contents from Folder1 to be Red color and all contents from Folder2 to be in blue color. How can I accomplish this. thank you

legion_
Автор

I did the same thing as you do but i got the error saying " AttributeError: Unknown property C" like this. what may be the solution? Should I install any other packages than matplotlib?

upendraneupane
Автор

Thanks a lot for this. Is it easy to add legends?

dionysiosefstathiou
visit shbcf.ru