【Python代码】散点图的绘制

import numpy as np
import matplotlib.pyplot as plt
fig, ax = plt.subplots()
ax.plot(10*np.random.randn(100),10*np.random.randn(100),'o')
ax.set_title('Simple Scatter')
plt.show()

在这里插入图片描述
在这里插入图片描述
扫码关注“图像处理与模式识别研究所”解锁更多技能哟。

猜你喜欢

转载自blog.csdn.net/qq_41985559/article/details/109036642