From: Christian Meesters <meesters@gm...> - 2011-04-14 09:55:47
I've lost touch with the state of mpl and starting to use it again. Apparently some of the gallery examples in 3D aren't working, but I think I found a workaround.
However, is there a way to get 3D bar charts with semilog style (e.g. logarithmic x-axis?)
Right now, I have:
from mpl_toolkits.mplot3d import Axes3D
import matplotlib.pyplot as plt
import numpy as np
for size, val, timepoint in zip(tdata[::2], tdata[1::2], timepoints):
cs = ['b'] * len(size)
ax.bar(size, val, zs = timepoint, zdir = 'y', color=cs, alpha=0.8)
as modified from one example I've found. Looks fine, except that the x-axis has to be logarithmic to make sense (data were sampled this way).
NEU: FreePhone - kostenlos mobil telefonieren und surfen!
Jetzt informieren: http://www.gmx.net/de/go/freephone