- 博客(12)
- 资源 (3)
- 收藏
- 关注
转载 python的另外一个数据可视化包 seaborn
http://www.cnblogs.com/kylinlin/p/5236601.htmlAPIhttp://seaborn.pydata.org/api.html#style-frontendhttp://seaborn.pydata.org/对python各位大神的仰慕有如滔滔江水
2017-08-29 17:03:01 524
原创 how to install eclipse in ubuntu (PyDev)
sudo add-apt-repository ppa:webupd8team/javasudo apt-get updatesudo apt-get install oracle-java8-installersudo update-java-alternatives -s java-8-oracle******* testingjavac -version
2017-08-28 15:39:27 317
原创 install scikit-neuralnetwork under ubuntu
Open ubuntu termial and import the following commands:sudo apt-get install pyton-pipsudo apt-get updatesudo apt-get upgrade gccsudo apt-get install python2.7-dev sudo apt-get install
2017-08-28 15:12:22 399
原创 Python输入输出
1. 输入字符串str_1 = input("Enter a string: ")str_2 = input("Enter another string: ")print("str_1 is: " + str_1 + ". str_2 is :" + str_2)print("str_1 is {} + str_2 is {}".format(str_1, str_2))
2017-08-23 16:19:10 317
原创 Python 中的控制流
#1. if statement example number = 59guess = int(input('Enter an integer : ')) if guess == number: # New block starts here print('Bingo! you guessed it right.') print('(but you
2017-08-23 15:30:31 400
原创 WINDOWS -Eclipse 配置PyDev
1. 安装JAVA82. 下载Eclipse LUNA版本,解压缩3. 记事本打开eclipse.ini 在openFile 下 填入 JAVA bin的地址-vmC:\Program Files\Java\jre1.8.0_144\bin4. 打开eclipse, 打开help-install new software.5. addPyDevhttp://
2017-08-21 15:14:24 461
原创 matplotlib 实战案例详解
案例一frommatplotlib.patches import Polygondeffunc(x):return -(x-2)*(x-8)+40x=np.linspace(0,10)y=func(x)fig,ax=plt.subplots()plt.plot(x,y,"r",linewidth = 2)a=2b=9ax.set_xticks([a
2017-08-17 10:43:38 667
原创 matplotlib 5 详解 风格与极坐标
lesson 24fig,axes = plt.subplots(ncols =2, nrows=2)ax1, ax2, ax3,ax4 = axes.ravel()x = np.random.normal(size=100)y = np.random.normal(size=100)ax1.plot(x,y,'o')x=np.arange(0,10)y=np.aran
2017-08-17 10:33:59 1962
原创 matplotlib4 详解 复杂图形
lesson17两根坐标轴x= np.arange(2,20,1)y1 = x*xy2 = np.log(x)plt.plot(x,y1)plt.twinx()plt.plot(x,y2,color ='r')plt.show()面向对象的做法x= np.arange(2,20,1)y1 = x*xy2 = np.log(x)fig =
2017-08-17 10:25:00 710
原创 matplotlib 详解3 面向对象
1. 面向对象importmatplotlib.pyplot as pltimportnumpy as npx=np.arange(0,10,1)y=np.random.randn(len(x))fig=plt.figure()ax=fig.add_subplot(111)l,=plt.plot(x,y)t =ax.set_title('object oriente
2017-08-17 10:05:32 1510
原创 matplotlib 详解2 -颜色、线与点
chapter 2 八种内建颜色b: blueg: greenr: redc: cyanm: magentay: yellowk: blackw: white
2017-08-16 22:23:21 2882
原创 matplotlib 详解1-基本图形
1. 初始importmatplotlib.pyplot as pltplt.plot([1,2,3],[3,2,1])plt.show()2 . 饼图labels= 'A','B','C','D'fracs = [15,20,35,30]plt.axes(aspect = 1) # X Y轴变成1:1explode =[0,0.05,0,0]pl
2017-08-16 22:08:22 475
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人