##x,y 可以是list也可以是numpy格式,如x=[1,2,3,4,5,6]
fig=plt.figure(figsize=(15,10))
ax = fig.gca()
for i in range(len(ans)):
circle2 = plt.Circle((ans_x[i],ans_y[i] ), 3, color='blue')
ax.add_artist(circle2)
plt.plot(y,x,color="red",linewidth=2)
plt.show()