legend()的一个用法: 当我们有多个 axes时,我们如何把它们的图例放在一起呢?? 我们可以这么做: import matplotlib.pyplot as plt import numpy as np x = np.arange(1, 11) fig = plt.figure(1) ax1... ...
分类:
其他好文 时间:
2017-05-01 17:07:34
阅读次数:
453
The Triangle Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 41169 Accepted: 24882 Description 7 3 8 8 1 0 2 7 4 4 4 5 2 6 5 (Figure 1) Fig ...
分类:
其他好文 时间:
2017-04-30 17:12:13
阅读次数:
179
import matplotlib.pyplot as plt import numpy as np #绘图流程 x=np.linspace(-1,1,100) y=x**2 plt.plot(x,y) plt.show() #figure相关plt.figure()#默认起始编号是1plt.fig... ...
分类:
其他好文 时间:
2017-03-30 19:45:57
阅读次数:
200
什么是PHP-CS-Fixer? 它是php-fig组织定义的PHP代码规范,良好的代码规范可以提高代码可读性,团队沟通维护成本 使用它可以按照指定的规范格式化您的PHP代码,此工具不仅可以检测有不符合规范的代码,而且还可以修复它们 1.使用php-cs-fixer.phar格式化php文件 1.下 ...
分类:
Web程序 时间:
2017-03-23 12:21:11
阅读次数:
3134
In [3]: print "hello world" hello world In [5]: for i in range(5): print i 0 1 2 3 4 In [12]: import matplotlib.pyplot as plt fig = plt.figure() ax1 = ...
分类:
编程语言 时间:
2017-03-17 14:38:32
阅读次数:
246
[HDU3518]Boring counting 试题描述 035 now faced a tough problem,his english teacher gives him a string,which consists with n lower case letter,he must fig ...
分类:
其他好文 时间:
2017-03-07 09:05:03
阅读次数:
164
上节聊完了PHP官方的相关代码规范,下面给大家带来了PHP系列的PHP推荐标准的另外两个,PSR-3,PSR-4。 首先,我们先来了解下PSR-3是怎么回事。 PHP-FIG发布的第三个推荐规范与前两个不同,不是一系列的指导方针,而是一个接口,规定PHP日志记录器组件可以实现的方法。 基础 The ...
分类:
Web程序 时间:
2017-02-25 17:04:59
阅读次数:
345
有个单词记不住啊: artifact:人工制品,手工艺品,加工品; 石器; 词根:fac,fact,fect,fic,fig=make,do,表示“做,制作” 因此 art i fact 意思很好记了;就是指的做出来的产品,艺术品吧 相关单词:artificial 人工的; 人造的; 人为的; 虚假 ...
分类:
其他好文 时间:
2017-02-18 09:19:39
阅读次数:
235
一: 安装: npm install webpack-dev-server -g npm install webpack-dev-server --save (下载到当前文件夹) npm install webpack --save (下载到当前文件夹) webpack.fig.js: var we ...
分类:
Web程序 时间:
2017-02-15 00:51:42
阅读次数:
216
https://github.com/hfcorriez/fig-standards/tree/zh_CN/%E6%8E%A5%E5%8F%97 ...
分类:
Web程序 时间:
2017-01-21 11:55:58
阅读次数:
268