#lang scheme
( define ( make-node point axis left-child right-child )
( define ( dispatch msg . args )
( cond
[ ( eq? msg 'point ) point ]
[ ( eq? msg 'axis ) axis...
分类:
其他好文 时间:
2015-05-26 18:52:15
阅读次数:
180
def pca(dataMat, topNfeat=9999999): #数据矩阵, 输出前topNfeat个feat
meanVals = mean(dataMat, axis=0) # 计算平均值
meanRemoved = dataMat - meanVals
covMat = cov(meanRemoved, rowvar...
分类:
编程语言 时间:
2015-05-23 06:29:48
阅读次数:
191
10020Given several segments of line (int the X axis) with coordinates [Li, Ri]. You are to choose the minimalamount of them, such they would completel...
分类:
其他好文 时间:
2015-05-19 18:50:56
阅读次数:
174
1、array.sum()from numpy import *import operatorgroup = array([[1.0,1.1],[1.0,1.0],[0,0],[0,0.1]])print(group)print(type(group))print(group.sum(axis=0)...
分类:
其他好文 时间:
2015-05-19 12:52:43
阅读次数:
114
http://blog.sina.com.cn/s/blog_4ac35a650100r24v.html图形的控制与表现 (Figure control and representation)MATLAB提供的用于图形控制的函数和命令:axis:人工选择坐标轴尺寸.clf:清图形窗口.ginput:...
分类:
其他好文 时间:
2015-05-17 18:12:10
阅读次数:
187
TeeChart曲线的X轴是时间,但是频率很高。没法完全显示。例如,一秒钟有2000个点,那么点与点的间隔为0.5毫秒。使用TChart类的GetAxisLabel事件,函数手册上对此事件的解释:An Event is triggered for each Axis Label painted. T...
分类:
其他好文 时间:
2015-05-15 19:53:54
阅读次数:
283
1.坐标轴设置set(gca,'ylim',[ymin,ymax]); %其中ymin,和ymax是y轴刻度的上下限 axis([xmin,xmax,ymin,ymax]);%改变坐标轴范围
分类:
其他好文 时间:
2015-05-14 20:02:11
阅读次数:
171
一、准备1、下载Axis2、eclipse插件axis2-1.6.2-war.zip:http://mirror.bjtu.edu.cn/apache//axis/axis2/java/core/1.6.2/axis2-1.6.2-war.zipaxis2-1.6.2-bin.zip:http://...
分类:
Web程序 时间:
2015-05-14 20:00:42
阅读次数:
210
%梯度算子检测边缘用 MATLAB实现如下:
clc;clear;close;
I=imread('e:\role0\003i.bmp');
subplot(2,3,1);
imshow(I);
title('原始图像');
grid on; %显示网格线
axis on; %显示坐标系
I1=im2bw(I);...
分类:
其他好文 时间:
2015-05-12 15:41:36
阅读次数:
142
%膨胀操作
clc;clear;close;
I=imread('e:\role0\003i.bmp'); %载入图像
I1=rgb2gray(I);
subplot(1,2,1);
imshow(I1);
title('灰度图像')
grid on; %显示网格线
axis on; %显示坐标系
se=strel...
分类:
其他好文 时间:
2015-05-12 15:38:46
阅读次数:
147