hi,
On Mon, Jun 1, 2009 at 20:08, pgb205 paulbaranovs...@optonline.net 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.
Better keep the list in the loop ;)
On Tue, Jun 2, 2009 at 21:20, C M cmpyt...@gmail.com wrote:
On Tue, Jun 2, 2009 at 1:56 PM, Sandro Tosi mo...@debian.org 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,
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