绘图函数变量解释:
1、绘图函数
plot()高级绘图函数,能自动创建新的绘图窗口
lines,points低级绘图函数,用于在已有图形上叠加新的图形。
lengend图例,低级绘图函数
下面的例子画cpu1,c2两条曲线:
plot(cpu1,type="o",pch=15,lty=1,col="blue")
lines(c2,type="o",pch=1,lty=1,col...
分类:
编程语言 时间:
2015-05-06 21:18:28
阅读次数:
246
数学题推导过程:(a-1)个点与a的第一个点与b个点相连的线的交点的个数为:(a-1)[(b-1)+(b-2)+(b-3)+...+2+1](a-2)个点与a的第二个点与b个点相连的线的交点的个数为:(a-2)[(b-1)+(b-2)+(b-3)+...+2+1]...(a-(a-1))个点与a的第...
分类:
其他好文 时间:
2015-05-06 12:29:40
阅读次数:
107
A geometrical view of perceptron 感知器的几何视图Weight-space 权值空间在这个空间中,每一个感知器中的权值都表示一维,而空间中的一点则代表了所有权值的特定集合,假设消除阈值,则每个训练样本都可以看做通过起点的超平面。So, points in the sp...
分类:
其他好文 时间:
2015-05-04 11:27:23
阅读次数:
177
Description
For the most of the university students,what they most want is that they can obtain 60 points from the final examination of every subject. Now, final examination is coming. As an excell...
分类:
其他好文 时间:
2015-05-03 20:40:06
阅读次数:
117
第一排第i个点和第二排第j个点相连,在这条线段上会产生(a-i)*(j-1)个交点,
以此类推,推公式即可。
#include
#define ll long long
ll a,b;
int cas=1;
int main()
{
while(~scanf("%d%d",&a,&b)&&(a||b))
printf("Case %d: %lld\n",cas+...
分类:
其他好文 时间:
2015-04-29 23:35:18
阅读次数:
310
解题报告 之 SOJ 2835 Pick Up Points CFW牛吃草喝水模型 最大流
Description
Recently loy are very interested in playing a funny game. There is a board of n*m grid.
Each grid has one point or not. If two adjacency grids both have one point, someone can
pick them up, and...
分类:
其他好文 时间:
2015-04-26 13:56:16
阅读次数:
136
/** * Definition for a point. * class Point { * int x; * int y; * Point() { x = 0; y = 0; } * Point(int a, int b) { x = a; y = b; } * ...
分类:
其他好文 时间:
2015-04-23 15:31:07
阅读次数:
104
题意:给出n个点,m个区间,需要给这些点涂上蓝色或者红色,使得每个区间里面的点的红色的点的个数与蓝色的点的个数的差值小于1唉,题目的标题就标注了一个easy= = 最开始做的时候对点还有区间都排序了,模拟来做,可是错了后来发现不管区间怎么样,只要红色和蓝色交替涂色,就一定能满足“使得每个区间里面的点...
分类:
其他好文 时间:
2015-04-23 09:26:30
阅读次数:
151
相比了下Qt quick的canvas和HTML5的canvas,发现HTML5 Canvas在同样绘制绘制操作下性能比Qt的canvas强很多,附上一个HTML5 canvas画笔一例子var DW = function( canvasid){ this._points = []; th...
分类:
Web程序 时间:
2015-04-22 01:55:28
阅读次数:
177