Matplot - vanhoan310/tips GitHub Wiki
- Plot with iteration.
fig = plt.figure()
for i in range(9):
ax = fig.add_subplot(3,3,i+1)
t = range(1,1+len(obj[i]))
ax.plot(t, obj[i],'b*',label='Obj')
plt.xlabel('iteration')
if i%3 ==0:
plt.ylabel('obj')
#plt.xlabel('iteration')
#plt.legend(loc='best')
plt.show()
- Plot blabla