Pyplot
Kaan AKŞİT
kunguz at gmail.com
Thu Jul 30 05:29:28 EDT 2009
Please help me I have been dealing with this little piece of code for 2
days. I am stuck and loosing time with it.
plt.figure(count)
plt.xlabel("Time steps")
plt.ylabel("Values")
plt.title("Output of ADCs")
plt.plot(timing,adc0)
plt.plot(timing,adc1)
plt.plot(timing,adc3)
plt.show()
plt.clf()
plt.cla()
plt.close()
30 Temmuz 2009 11:02 tarihinde Kaan AKŞİT <kunguz at gmail.com> yazdı:
> I am a newbee in Python. I have some problem with usage of Pyplot. I have a
> loop that creates plot in every end of it. Problem starts here: The first
> plot is fine but the second one is plotted onto the first plot. I use:
>
> plt.cla()
> plt.draw()
> plt.hold(False)
> plt.close()
> plt.clf()
>
> but nothing works. Perhaps I am having a problem with basics, please help
> me if you know something about it.
>
> Kaan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090730/6a93fb69/attachment-0001.html>
More information about the Python-list
mailing list