MATpython安装matplotlib了玩不了

9369人阅读
1: install turtoal pls see:
/articles/EclipseMemoryAnalyser/article.html
2:& for mat plugin version, is u want to use it:
& 2.1:& open mat view pespective.
2.2&& get a img of heap in android dev , u can goto ddms view, and press
button. the save the img file . (需要选择对应的应用程序。)
2.3& open the imgfile.
&&&&& u must in mat model&&
&&& then& u can ..
2.4& 运行 htprof_conv 命令,转换hprof 文件成标准形式
& 2.5& 打开
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:125820次
积分:1704
积分:1704
排名:第19757名
原创:48篇
转载:18篇
评论:13条
(1)(1)(2)(3)(1)(4)(5)(2)(2)(10)(2)(3)(6)(6)(3)(4)(2)(2)(1)(2)(4)matplotlib是python著名的绘图库,它提供了一整套和matlab相似的命令API,下面介绍在windows下的***步骤:
1、python下载*** (),选择***python 2.7.*,python 3.*版本***某些模块会出问题
2、***matplotlib还需要***numpy, scipy
&&  numpy :& &下载下面的
& & & & &scipy:
& & & & &matplotlib:
3、msvcp71.dll,&在某些系统上,你可能还需要库。下载
& & &这个文件,解压后把它拖到c:\windows\system32目录中。
5、***deateutil,
6、***pyparsing,
7、下载***six模块:&,下载six-1.4.1.tar.gz 包,解压,将里面的six.py文件放到c盘python27目录的Lib下。
***过程中如遇到问题需要一些依赖包,可以到寻找相应资源,但是这里的资源都是.whl格式,需要***pip,以下是pip的***步骤:
1、windows用户只需要&&get-pip.py文件,在python中运行,如果运行成功你可以看到$PYTHON_PATH/Script/ 下出现pip.* 等几个文件
2、 如何使用呢,首先将$PYTHONPATH , $PYTHONPATH\Scripts添加到系统PATH中,接下来就可以在windows的cmd下***啦。或者直接到Scripts目录下,运行pip也行 
pip install whatever.whl
验证matplotlib是否***成功:
import matplotlib
import numpy
import scipy
import pyparsing
import matplotlib.pyplot as plt
import numpy as np
import matplotlib.pyplot as plt
# Compute the x and y coordinates for points on a sine curve
x = np.arange(0, 3 * np.pi, 0.1)
y = np.sin(x)
# Plot the points using matplotlib
plt.plot(x, y)
plt.show()
# You must call plt.show() to make graphics appear.
阅读(...) 评论() &

参考资料

 

随机推荐