The Shapes of CSSAll of the below use only a single HTML element. Any kind of CSS goes, as long as it's supported in at least one browser.SquareRectan...
分类:
Web程序 时间:
2015-01-07 18:20:27
阅读次数:
298
setXfermode设置两张图片相交时的模式我们知道 在正常的情况下,在已有的图像上绘图将会在其上面添加一层新的形状。 如果新的Paint是完全不透明的,那么它将完全遮挡住下面的Paint;而setXfermode就可以来解决这个问题一般来说 用法是这样的Canvas canvas = new C...
分类:
移动开发 时间:
2015-01-07 13:05:46
阅读次数:
113
#encoding:utf-8
#1.绘制曲线:
import numpy as np
import matplotlib.pyplot as plt
x = np.linspace(0, 10, 1000)
y = np.sin(x)
plt.figure(figsize=(8,4)) plt.plot(x,y,label="$sin(x)$",color="red",linewidth=2)...
分类:
编程语言 时间:
2015-01-04 17:13:34
阅读次数:
616
#绘制条形图
import numpy as np
import matplotlib.pyplot as plt
y=[]
plt.figure(1)
width=1
for i in range(len(y)):
plt.figure(1)
plt.bar(i*width,y[i],width)
plt.xlabel("X")
plt.ylabel("Y")
plt.show(...
分类:
其他好文 时间:
2015-01-04 17:13:16
阅读次数:
169
4.绘制散列图
import matplotlib.pyplot as plt
import numpy as np
import random
plt.figure(figsize=(8,4))
x=np.random.random(100)
y=np.random.random(100)
plt.scatter(x,y,s=x*1000,c=y,marker=(5,1),alpha=0.8,l...
分类:
其他好文 时间:
2015-01-04 17:11:18
阅读次数:
253
#绘制三维图
import numpy as np
import mpl_toolkits.mplot3d
import matplotlib.pyplot as plt
x,y=np.mgrid[-2:2:20j,-2:2:20j]
z=x*np.exp(-x**2-y**2)
ax=plt.subplot(111,projection='3d')
ax.plot_surface(x,y,z,r...
分类:
其他好文 时间:
2015-01-04 17:10:27
阅读次数:
258
软件架构(architecture)是有关软件整体结构与组件的抽象描述,用于指导大型软件系统各个方面的设计。软件体系结构是构建计算机软件实践的基础。与建筑师设定建筑项目的设计原则和目标,作为绘图员画图的基础一样,一个软件架构师或者系统架构师陈述软件架构以作为满足不同客户需求的实际系统设计方案的基础。...
分类:
其他好文 时间:
2015-01-04 14:56:54
阅读次数:
230
这个例子主要用 replot 画图
福彩双色球开奖数据可视化:
http://www.gdfc.org.cn/datas/history/twocolorball/history_1.html
001 03 09 15 20 27 29 01
002 04 21 23 31 32 33 04
003 06 10 11 28 30 33 12
省略
150 03 08 14 22...
分类:
其他好文 时间:
2015-01-03 09:20:41
阅读次数:
893
Louvain算法主要针对文献[1]的一种实现,它是一种基于模块度的图算法模型,与普通的基于模块度和模块度增益不同的是,该算法速度很快,而且对一些点多边少的图,进行聚类效果特别明显,本文用的画图工具是Gephi,从画图的效果来说,提升是很明显的。
分类:
编程语言 时间:
2015-01-02 01:07:12
阅读次数:
6571