Re: [Matplotlib-users] Labeling X-axis with time data

2009-06-02 Thread Sandro Tosi
Better keep the list in the loop ;) On Tue, Jun 2, 2009 at 21:20, C M wrote: > On Tue, Jun 2, 2009 at 1:56 PM, Sandro Tosi wrote: >> - x data values has to be datetime objects (so you have to convert to that) >> - you have to use plot_data() instead of plot() > > OP, note that is a typo for plot

Re: [Matplotlib-users] Labeling X-axis with time data

2009-06-02 Thread Sandro Tosi
hi, On Mon, Jun 1, 2009 at 20:08, pgb205 wrote: > > et say i have two arrays > time_array=[00:00:00,00:00:10...17:59:50,18:00:00] > and > data_array=[1,12..34,2] > both of them with the same number of elements. > I want to graph data_array on y axis vs time_array on x_axis. > However, I'm unable

[Matplotlib-users] Labeling X-axis with time data

2009-06-01 Thread pgb205
et say i have two arrays time_array=[00:00:00,00:00:10...17:59:50,18:00:00] and data_array=[1,12..34,2] both of them with the same number of elements. I want to graph data_array on y axis vs time_array on x_axis. However, I'm unable to do this using matplotlib because it complains time_array is no