Matplotlib

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()

你可能感兴趣的:(Matplotlib)