数据分析07 /matplotlib绘图 [TOC] 1. 绘制线性图:plt.plot() 绘制单条线形图 绘制抛物线形图 在一个坐标系中绘制多条曲线 给x,y设定标识 设置图例大小 设置图例legend() 保存图例 2. 绘制柱状图:plt.bar() plt.bar()参数:第一个参数是索引 ...
分类:
其他好文 时间:
2019-12-14 11:39:13
阅读次数:
116
数据分析06 /matplotlib绘图 [TOC] 1. 绘制线性图:plt.plot() 绘制单条线形图 绘制抛物线形图 在一个坐标系中绘制多条曲线 给x,y设定标识 设置图例大小 设置图例legend() 保存图例 2. 绘制柱状图:plt.bar() plt.bar()参数:第一个参数是索引 ...
分类:
其他好文 时间:
2019-12-13 23:38:51
阅读次数:
138
生命组学 研究old gene 和 young gene CAI选择信号;CGmutation信号 Neutrality plot:CG3与GC1、GC2的关系:平:mutation;正相关:selection signal Ks Ka Ka/ Ks代表选择压力,Core gene Ka/ Ks比较 ...
分类:
其他好文 时间:
2019-12-13 00:04:55
阅读次数:
123
t = [0:0.01:0.98] :设置一个步长为0.01的矩阵 y1 = sin(2*pi*4*t) :设置一个sin函数 plot(t,y1) :绘制出以 t 为横轴 以 y1为纵轴的图形 y2 = cos(2*pi*4*t) :设置一个cos函数 plot(t,y2) :绘制出以 t 为横轴 ...
分类:
其他好文 时间:
2019-12-12 20:00:46
阅读次数:
107
1、双y轴 x = np.arange(0., np.e, 0.01) y1 = np.exp(-x) y2 = np.log(x) fig = plt.figure() ax1 = fig.add_subplot(111) ax1.plot(x, y1) ax1.set_ylabel('Y val ...
分类:
编程语言 时间:
2019-12-10 13:11:49
阅读次数:
118
本节主要介绍使用Canny函数达到边缘探测的结果。 Code: import cv2from matplotlib import pyplot as pltimg = cv2.imread('ball.png',0)/** Canny(image, threshold1, threshold2[,e ...
分类:
编程语言 时间:
2019-12-10 11:43:48
阅读次数:
99
数据分析: --数据是21世纪的石油 1.分析过程: 1.提出问题 2.收集数据 3.分析数据 numpy pandas 4.数据的展现 matplotlib(量小) 2.ipython的用法 安装:pip install ipython 3.jupyter notebook 1.命令行安装: 安装 ...
分类:
其他好文 时间:
2019-12-09 21:29:54
阅读次数:
107
matplotlib plt.plot() # 绘图函数 plt.show() # 显示图像 1.plot函数:绘制折线图 线型linestyle(-,-.,--,..) 点型marker(v,^,s,*,H,+,X,D,O,...) 颜色color(b,g,r,y,k,w,...) plt.plo ...
分类:
其他好文 时间:
2019-12-09 21:15:52
阅读次数:
110
在线标注网站 https://gitlab.com/vgg/via http://www.robots.ox.ac.uk/~vgg/software/via/via.html 数组与图像互转 灰度图增强对比度 读CSV ...
分类:
编程语言 时间:
2019-12-07 21:02:54
阅读次数:
99