subplot(arg1, arg2, arg3)

arg1: 在垂直方向同时画几张图

arg2: 在水平方向同时画几张图

arg3: 当前命令修改的是第几张图

t = np.arange(0,5,0.1)
y1 = np.sin(2*np.pi*t)
y2 = np.sin(2*np.pi*t)
plt.subplot(211)
plt.plot(t,y1,'b-.')
plt.subplot(212)
plt.plot(t,y2,'r--')
plt.show()

最新文章

  1. eclipse中搭建svn开发管理环境
  2. (转)Linux NFS服务器的安装与配置
  3. App开放接口api安全性的设计与实现
  4. React 随笔二
  5. SVM支持向量机的高维映射与核函数-记录毕业论文2
  6. 数据库操作(C#)
  7. ios9 之后,Xcode7不推荐使用UIAlertView,改用UIAlertController+UIAlertAction(按钮)
  8. [Effective Modern C++] Item 2. Understand auto type deduction - 了解auto类型推断
  9. Neutron数据库同步错误 NotImplementedError: No support for ALTER of constraints in SQLite dialect
  10. Sql Server 2008 卸载重新安装失败的解决办法!(多次偿试,方法均有效!)
  11. install mysql on centos7
  12. Curl测试socks5 or http 代理命令
  13. zabbix3.2监控mysql
  14. addEventListener()方法
  15. shell 学习笔记一
  16. 【Skynet】Traceback汇总
  17. 关于new Handler()与new Handler(Looper.getMainLooper())区别
  18. java 线程 获取当前线程
  19. LA3890 Most Distant Point from the Sea
  20. Java学习第二十二天

热门文章

  1. linux设备驱动第四篇:从如何定位oops的代码行谈驱动调试方法
  2. R语言rvest包网络爬虫
  3. 洛谷P1982 小朋友的数字
  4. 史上最全 ——LINQ to SQL语句
  5. _exit和exit的区别
  6. upc 组队赛18 STRENGTH【贪心模拟】
  7. 最长连续公共子序列(LCS)与最长递增公共子序列(LIS)
  8. C#后台去除字符串最后一个字符
  9. 《STL源码剖析》——第五、六:关联容器与算法
  10. CentOS 安装开发工具包