📜  matplotlib plot 2d point - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:36.454000             🧑  作者: Mango

代码示例1
import numpy as np
import matplotlib.pyplot as plt

N = 50
x = np.random.rand(N)
y = np.random.rand(N)

plt.scatter(x, y)
plt.show()