3D Bar Charts in Python and Matplotlib

preview_player
Показать описание
Besides 3D scatter plots, we can also do 3D bar charts. This again allows us to compare the relationship of three variables rather than just two. 3D bar charts with matplotlib are slightly more complex than your scatter plots, because the bars have 1 more characteristic: depth. Basically, the "thickness" of the bars is also define-able. For most, this will be simply a pre-determined set of data, but you can actually use this for one more "dimension" to your plot.

How to make a 3D bar chart in python.
Рекомендации по теме
Комментарии
Автор

Googled "easiest way plot 3D bar chart". I'm not disappointed ;)

hablutzelroland
Автор

What if we wanted to treat the color option as a tricolor heatmap/function of height of z?

NomadicIsaac
Автор

Excellent!!!! very helpful for me. Can you please make a video for 4-5-6 dimensions using python code?

partham
Автор

I think the wire graph might be a better option. I'm trying to represent the income level and education per state using a csv file

alopezmercado
Автор

Sir ..just need one info..in case I need to import any data and then apply 3D graphs how will we do that

abhisheksharma-webr
Автор

How you choose array numbers for y axis in this video?

AshishKumar-ycze
Автор

Hola buenas, oye mira es que me pidieron un programa en java que me permita graficar una funcion con 3 variables eje, x, y, z pienso que lo mas importantes es q me reconozca la funcion almacenada en las 3 variables, y ps tengo q entregarlo muy pronto y no se q libreria me podrian ayudar para reconocer las funciones y obtener los valores para poder ir graficandolos

jhonfredyparrado
Автор

Awesome!!! But I have one question... How do you remember all these #123sba... colors? And is it possible to use rgb colors in python like in css?

johnaward
Автор

Hi Sentdex. Thank you for this video, however I have a question more complicated and I hope that you can help me or at least to guide me. Normally you know about how we plot 3D bar in a map. so my request is: for example I have my private image (instead of the map) and I want to plot the 3D bar upon my private image, where I want to put the image in the plan (OXY) and then I make the 3D bar upon the appropriate coordinate in my image.
So do you have any solution or idea how I can do this kind of plot. And thank you so much for help.

HB-kxlb
Автор

How can you change the bars' thickness for this example?

dariodemattiesreyes
Автор

Can we make a animated bar chart in python

ayushmittal
Автор

Thanks for sharing! Great explanation!

dariodemattiesreyes
Автор

how do you make a 3d chart with information like state, income and education (i'm a pre beginner) 

alopezmercado
Автор

he tell no module named mp_toolkits.mplot3d

dahshan_
Автор

Useless unless you use actual example data such as from a CSV file. All this does is shows you a graph with random numbers that mean absolutely nothing in a real world appplication of this technique.

Borolad