转载出处:http://www.cqrs.nu/FaqWhat is a domain?The field for which a system is built. Airport management, insurance sales, coffee shops, orbital flight, ...
分类:
其他好文 时间:
2014-06-28 11:56:38
阅读次数:
289
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:
其他好文 时间:
2014-06-26 00:29:49
阅读次数:
168
/*API-141*/Raphael.pathIntersection(path1, path2)获取两条线的交点参数列表:path1 字符串类型 路径的字符串表达形式path2 字符串类型 路径的字符串表达形式返回值:交点集合,格式如下:[{ x: //number类型 点的x坐标 y: //nu...
matplotlib官网文档:
http://matplotlib.org/gallery.html
支持win7_64_bit的matplotlib库下载网址:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#matplotlib
简介:
matplotlib 是python最著名的绘图库,它提供了一整套和matlab相似...
分类:
编程语言 时间:
2014-06-22 22:59:48
阅读次数:
500
matplotlib是Python著名的绘图库,默认并不支持中文显示,因此在不经过修改的情况下,无法正确显示中文。本文将介绍如何解决这一问题的方法。
网上的主流方法是修改matplotlibrc文件,如下(但是没有效果):
1,找到
#font.family:sans-serif
去掉注释
2,找到
#font.sans-serif:Bitstream Vera Sans, Lucid...
本文为学习笔记----总结!大部分为demo,一部分为学习中遇到的问题总结,包括怎么设置标签为中文等。matlab博大精深,需要用的时候再继续吧。
Pyplot tutorial
Demo地址为:点击打开链接
一个简单的例子:
# -*- coding: utf-8 -*-
import matplotlib.pyplot as plt
plt.plot([1, 4, 9, 16])
p...
分类:
编程语言 时间:
2014-06-22 15:17:39
阅读次数:
415
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:
其他好文 时间:
2014-06-18 10:17:40
阅读次数:
174
组内有个同事,有个奇怪的需求需要matplotlib删除x轴效果图如下:关键代码:from matplotlib import pyplot as pltplt.plot(range(10))plt.tick_params(\ axis='x', # changes appl...
分类:
其他好文 时间:
2014-06-18 08:55:25
阅读次数:
324
networkx:
一个用Python语言开发的图论与复杂网络建模工具,
内置了常用的图与复杂网络分析算法,
可以方便的进行复杂网络数据分析、仿真建模等工作。
依赖工具:
numpy
pyparsing
datautil
matplotlib
networkx
采用随机图做个实验:
from random im...
分类:
编程语言 时间:
2014-06-18 00:32:52
阅读次数:
321
不知道怎么起标题,就这样了。目前主要讲两个方面内容:代码方式 设置RadioButton的 android:button 、 android:background 等属性为 @null;代码方式 通过布局模板动态创建固定参数的RadioButton等控件对象1、代码设置@null// 这里不能用nu...
分类:
其他好文 时间:
2014-06-16 13:35:24
阅读次数:
204