I would like to generate (or simulate) 3D histogram... How I can do this with matplotlib/pylab (if I can) ?
I tried different ways :
- 2D histogram in 3D but the result is not usable for me (because I have lot of small bars)
- generation of bars with, for each bar, 5 Polygons but I didn't success (I don't hunderstand the main principle of the 3D module) and it seems to be slow (I must draw approximatively 300 bars)
- simulation of bars with large lines (like in Gnuplot, see below) but, again, I don't hunderstand the main principle of the 3D module and I don't know how I can plot set of lines in a 3D environment...
Today, I do this with Gnuplot :
splot "hist3D.dat" with boxes linewidth 10
0 0 3
0 1 2
0 2 5
1 0 1
1 1 4
1 2 1
2 0 5
2 1 2
2 2 3
Does someone have an idea ?