处理处理及画图的基本步骤: from matplotlib import pyplot as plt import pandas as pd data2=pd.read_csv('/Users/ligaijiang/Pyexample/Plt/countries.csv') China_filter ...
分类:
系统相关 时间:
2020-03-09 18:19:26
阅读次数:
80
import numpy as np import pandas as pd from matplotlib import pyplot as plt nasa=pd.read_table(r"Y:\Workplace\BigData\percent-bachelors-degrees-women- ...
分类:
其他好文 时间:
2020-03-08 14:24:12
阅读次数:
81
$\sigma_1^2=1,\sigma_2^2=3,\rho=0.75$ $\sigma_1^2=1,\sigma_2^2=1,\rho=0$ ...
分类:
编程语言 时间:
2020-03-06 21:47:58
阅读次数:
123
手稿图 折线图 | Argument | Description | | : | : | | xs , ys | x, y coordinates of vertices | | zs | z value(s), either one for all points or one for each p ...
分类:
编程语言 时间:
2020-03-06 21:47:34
阅读次数:
154
```python import matplotlib.pyplot as plt import numpy as np def norm_pdf(x,mu,sigma): pdf=np.exp(-((x-mu)**2)/(2*sigma**2))/(sigma*np.sqrt(2*np.pi)) ... ...
分类:
编程语言 时间:
2020-03-06 19:20:27
阅读次数:
92
示例Demo JUnit中的Assert 这个类提供了一系列的编写测试的有用的声明方法。只有失败的声明方法才会被记录。 检查两个变量或者等式是否平衡 检查条件是假的 检查对象不是空的 检查对象是空的 检查条件为真 在没有报告的情况下使测试不通过 这些方法我就不一一介绍了,相信我的读者们都能看懂并在平 ...
分类:
其他好文 时间:
2020-03-05 15:16:37
阅读次数:
62
一、折线图 import numpy as np import matplotlib.pyplot as plt x = np.linspace(0, 2 * np.pi, 100) y1, y2 = np.sin(x), np.cos(x) plt.plot(x, y1, c='r', ls='- ...
分类:
编程语言 时间:
2020-03-04 22:45:55
阅读次数:
81
matplotlib的使用: step1.创建一个空白的画布,此函数返回fig画布 fig=plt.figure() step2.创建子图 ax=fig.add_subplot(1,2,1)#意思是将画布分为1行2列现在利用第一列返回为第一列的子图 step3.开始画图,此处我们利用seaborn来 ...
分类:
其他好文 时间:
2020-03-04 00:27:04
阅读次数:
83
程序存在两个漏洞,gift存在格式化字符串漏洞,vuln存在栈溢出漏洞 这题和攻防世界的Mary_Morton类似,用格式化字符串漏洞泄露canary,然后就是常规的栈溢出来getshell,需要注意的是在gift里面只能输入6个字符 脚本如下 # -*- coding: utf-8 -*- fro ...
分类:
其他好文 时间:
2020-03-02 20:43:41
阅读次数:
93
1. PLT指用户多久可以看到页面的时间,减少PLT可以通过减小内容大小,改变HTTP以更好的利用宽带,改变HTTP避免相同内容的重复转发,使内容与client更近 2. RTT指一个小的packet从client到server再回来的时间 HTTP响应时间包括:一个RTT启动TCP连接(因为non ...
分类:
其他好文 时间:
2020-03-02 18:54:21
阅读次数:
61