Hi,
Le 27/01/2013 00:35, Skipper Seabold a écrit :
> This has been asked before, and I just filed a ticket [1]. Can anyone
> think of a better way to do something like this? The fill_between
> below is pretty suboptimal IMO.
I feel that adding a filled step plot would indeed be useful.
Just think
Hi Skipper,
I think you are missing one bin in your plot... but anyway, this is how I'd
do the same plot (filled step plot):
import matplotlib.pyplot as plt
import numpy as np
t_sec = np.arange(6)
velocity = np.array([24., 33., 40., 45., 48., 49.])
width = t_sec[1] - t_sec[0]
plt.bar(t_sec, vel
This has been asked before, and I just filed a ticket [1]. Can anyone think
of a better way to do something like this? The fill_between below is pretty
suboptimal IMO.
import matplotlib.pyplot as plt
import numpy as np
t_sec = np.arange(6)
velocity = np.array([24., 33., 40., 45., 48., 49.])
fig,