matplotlib常见图例
1.simple plot
#simple plot
import matplotlib
import matplotlib.pyplot as plt
import numpy as np
#data for plotting
t=np.arange(0.0,2.0,0.01)
s=1+np.sin(2*np.pi*t)
#fig表示整张图纸,ax表示单个子图
fig,ax=plt.su...
转载
2019-05-13 19:38:27 ·
1299 阅读 ·
0 评论