import matplotlib.pyplot as plt
for c in range(-21,21):
for i in range(0,20):
print c,i
plt.plot([c],[i],'r.')
plt.show()
plt.clf()
print 10000
i am new to python
what i want to do is plot the graph and after plotting clear it and print 10000 .. but it is not clearing the plot .. plz help me modify the code accordingly .