Matplotlib
绘制简单图形
import numpy as np
import matplotlib.pyplot as plt
x = np.arange(0,6,0.1)
y = np.sin(x)
plt.plot(x,y)
plt.show()
绘制简单图形
import numpy as np
import matplotlib.pyplot as plt
x = np.arange(0,6,0.1)
y = np.sin(x)
plt.plot(x,y)
plt.show()
本文标题:Matplotlib
本文链接:https://www.haomeiwen.com/subject/qknlkqtx.html
网友评论