state, plotting 3D? semilog axis possible?


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

prepare data
for size, val, timepoint in zip(tdata[::2], tdata[1::2], timepoints):
        cs = ['b'] * len(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: