Python Forum

Full Version: 3D bar chart? plot in Matplotlib?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi Everyone,
   I'm trying to create a nice looking 3d barchart in python matplotlib - but can't find any samples.

[Image: bV4kE5o.png]

Any help would be great!

Thanks

Simon
you cannot find examples? really?
Not that look like the one I showed:

e.g., the closest is something like this:

http://matplotlib.org/examples/mplot3d/bars3d_demo.html

I thought there was some better ones :(
If you dont insist on using matplotlib, you can try Mayavi - while matplotlib is mainly 2D plotting library, mayavi focuses on 3D.
Seems like this one could be modified to get the results you're looking for:
http://matplotlib.org/examples/mplot3d/bars3d_demo.html