On Fri, Dec 4, 2009 at 6:17 AM, Mkhanyisi Madlavana wrote:
> How can I do this using matplotlib? The snippet of my code looks like:
>
> Am I doing this all the wrong way?
>
>
This way is easier:
http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.axhline
http://matplotlib.sou
How can I do this using matplotlib? The snippet of my code looks like:
k = 1.195*ones((1,data[0].size))
plot(data[0], k,'--')
but I get this error:
Traceback (most recent call last):
File "./plot_detector.py", line 26, in
plot(data[0], k,'--')
File "/usr/lib/pymodules/python2.6/matplotli