Matplotlib-散点图dot
散点空心圆
import matplotlib.pyplot as plt
x = [[1, 3], [2, 5]]
y = [[4, 7], [6, 3]]
for i in range(len(x)):
plt.plot(x[i], y[i], color='r')
plt.scatter(x[i], y[i], color='b')
plt.scatter(x[i], y[i], color='', marker='o', edgecolors='g', s=200) # 把 cor
原创
2022-03-16 21:01:33 ·
329 阅读 ·
0 评论