# fig, ax2 = plt.subplots(figsize=(11,6))
# ax2.scatter(x0[:,0],x0[:,1])
# ax2.scatter(x1[:,0],x1[:,1])
# ax2.plot(x_line,y_line,next(colors), ls='--', lw=1)
# ax2.plot(x_line_simu,y_line_simu,next(colors), ls='--', lw=1)
# plt.savefig(path_save + "/Fig_risk_%d_.svg"%itr,dpi = 600)
from itertools import cycle
colors = cycle(['g', 'b', 'k', 'y', 'c', 'r', 'm'])
colors_ = ['g', 'b', 'k', 'y', 'c', 'r', 'm']
ax4 = plt.subplots(figsize=(11,6))
plt.scatter(x0[:,0],x0[:,1])
plt.scatter(x1[:,0],x1[:,1])
# plt.plot(x_line,y_line,next(colors), ls='--', lw=1)
# plt.plot(x_line_simu,y_line_simu,next(colors), ls='--', lw=1)
plt.plot(x_line,y_line,'r', ls='--', lw=1)
plt.plot(x_line_simu,y_line_simu,'g', ls='--', lw=1)
plt.title('t=%d'%itr)
plt.savefig(path_save + "/Fig_m_risk_%d_.svg"%itr,dpi = 600)