import numpy as np import matplotlib.pyplot as plt 1.基础绘图: plt.plot(x, y) plt.show() 数据越多,图像显然越准确。 2.更详细的作图: