1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
Traceback (most recent call last):
File "matlab2.py", line 21, in <module>
plot([ligne[1]],[ligne[4]],"ro",linewidth=2.0)
File "/usr/lib/python2.5/site-packages/matplotlib/pyplot.py", line 1780, in plot
ret = gca().plot(*args, **kwargs)
File "/usr/lib/python2.5/site-packages/matplotlib/axes.py", line 2654, in plot
for line in self._get_lines(*args, **kwargs):
File "/usr/lib/python2.5/site-packages/matplotlib/axes.py", line 404, in _grab_next_args
for seg in self._plot_3_args(remaining, **kwargs):
File "/usr/lib/python2.5/site-packages/matplotlib/axes.py", line 380, in _plot_3_args
func(x[:,j], y[:,j])
File "/usr/lib/python2.5/site-packages/matplotlib/axes.py", line 361, in makeline
axes=self.axes,
File "/usr/lib/python2.5/site-packages/matplotlib/lines.py", line 284, in __init__
self.set_data(xdata, ydata)
File "/usr/lib/python2.5/site-packages/matplotlib/lines.py", line 405, in set_data
self.recache()
File "/usr/lib/python2.5/site-packages/matplotlib/lines.py", line 410, in recache
x = ma.asarray(self.convert_xunits(self._xorig), float)
File "/usr/lib/python2.5/site-packages/numpy/core/ma.py", line 2123, in asarray
return array(data, dtype=dtype, copy=0)
File "/usr/lib/python2.5/site-packages/numpy/core/ma.py", line 574, in __init__
self._data = c.astype(tc)
ValueError: invalid literal for float(): 06:00:16 |