Please help me I have been dealing with this little piece of code for 2 days. I am stuck and loosing time with it.<br><br>plt.figure(count)<br> plt.xlabel("Time steps")<br> plt.ylabel("Values")<br>
plt.title("Output of ADCs")<br> plt.plot(timing,adc0)<br> plt.plot(timing,adc1)<br> plt.plot(timing,adc3)<br> plt.show()<br> plt.clf()<br> plt.cla()<br>
plt.close()<br><br><div class="gmail_quote">30 Temmuz 2009 11:02 tarihinde Kaan AKŞİT <span dir="ltr"><<a href="mailto:kunguz@gmail.com">kunguz@gmail.com</a>></span> yazdı:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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:<br>
<br>plt.cla()<br>plt.draw()<br>plt.hold(False)<br>plt.close()<br>plt.clf()<br><br>but nothing works. Perhaps I am having a problem with basics, please help me if you know something about it.<br><font color="#888888"><br>
Kaan<br>
</font></blockquote></div><br>