ubuntu下安装matplotlib
来源:互联网 发布:语音识别 python 编辑:程序博客网 时间:2024/05/17 04:28
安装 matplotlib
因为 matplotlib 的依赖关系比较多(依赖关系是指一个软件需要安装其他一些软件包后才能使用,举个例子:A依赖B,说明安装B后才能使用A),
依赖关系包括:
numpy tornado pyparsing freetye png
因此,在命令行一次输入如下命令
sudo easy_install numpysudo easy_install tornadosudo easy_install pyparsingsudo apt-get install libfreetype6sudo apt-get install libpng12-devsudo easy_install matplotlib
测试安装成功与否
from pylab import *t = arange(0.0, 2.0, 0.01)s = sin(2*pi*t)plot(t,s,linewidth = 1.0)xlabel('time (s)')ylabel('voltage (mV)')title('About as simple as it gets, folks')grid(True)show()
显示出一个正弦函数。
0 0
- ubuntu 下安装 matplotlib
- ubuntu下安装matplotlib
- ubuntu下安装numpy,matplotlib
- Ubuntu环境下matplotlib安装
- ubuntu 下 python numpy,scipy,matplotlib安装
- Ubuntu下安装numpy and matplotlib
- ubuntu下安装numpy and matplotlib
- Ubuntu下安装numpy and matplotlib
- Ubuntu下安装numpy和matplotlib包
- Ubuntu下安装numpy and matplotlib
- Ubuntu下安装numpy and matplotlib
- Ubuntu下安装numpy and matplotlib
- Ubuntu下安装Numpy与Matplotlib
- ubuntu matplotlib的安装
- Ubuntu 16.04安装Matplotlib
- Ubuntu-Python2.7下安装 scipy,numpy,matplotlib,nose
- Ubuntu下安装numpy matplotlib scikit-learn ipython-notebook
- Windows, Ubuntu 下 Numpy, Scipy, matplotlib, jupyter notebook 安装配置
- .Net 垃圾回收和大对象处理
- POJ 3134 - Power Calculus (IDDFS)
- iOS笔记-(Block基础知识和使用)
- Bitmap算法
- POJ-1198(BFS)
- ubuntu下安装matplotlib
- jetson tk1 图形界面初始化
- mysql事务隔离级别
- 原有人陪你颠沛流离-卢思浩
- 题目1069:查找学生信息
- OpenWrt学习笔记之入门篇
- JSP自定义标签
- 输入输出外挂
- 数据库设计说明书