11/05/13 01:50:14.28 .net
>>115
>>116
ありがと やっぱ動かすと止まっちゃうのね
import matplotlib.pyplot as plt
import random
plt.ion()
x = [0]*100
y = [0]*100
random.seed();
for i in range(100):
x[i] = random.randint(-100, 100)
y[i] = random.randint(-100, 100)
plt.axis([-110, 110, -110, 110])
plt.grid(True)
for i in range(len(x)):
plt.plot(x[i], y[i] , 'kD')
plt.draw()
plt.show()
これで100個プロット打つのに9秒くらいかかるんだけどこんなものかな
あとshow入れても最後にはやっぱ消えちゃうわ