import os import numpy as np import matplotlib.pyplot as plt data =np.loadtxt("data.txt") plt.plot(data[:,0],data[:,1]) plt.show()
原文地址:https://www.cnblogs.com/wongyi/p/11790953.html
时间: 2024-10-11 10:40:28
import os import numpy as np import matplotlib.pyplot as plt data =np.loadtxt("data.txt") plt.plot(data[:,0],data[:,1]) plt.show()
原文地址:https://www.cnblogs.com/wongyi/p/11790953.html