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 <[email protected]> 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
>
--
http://mail.python.org/mailman/listinfo/python-list