2021年6月26日

plt.figure()的使用,plt.plot(),plt.subplot(),plt.subplots()和图中图

摘要: 参考:https://blog.csdn.net/m0_37362454/article/details/81511427 matplotlib官方文档:https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.figure.html f 阅读全文

posted @ 2021-06-26 12:36 lmqljt 阅读(2570) 评论(0) 推荐(0) 编辑

np.linspace,numpy中的linspace()

摘要: import numpy as np x=np.linspace(1,10) y=np.linspace(1,10,num=10,retstep=True)#num可省略 print(x) print (y) 由结果可得,一般linspace生成含有50个数的等间隔数列,前两个参数是数列开始和结尾, 阅读全文

posted @ 2021-06-26 10:50 lmqljt 阅读(667) 评论(0) 推荐(0) 编辑

导航