亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? scatterdui.m

?? 模式識別常用功能函數
?? M
字號:
% SCATTERDUI Scatter plot with user interactivity%%   SCATTERDUI (A)%   SCATTERDUI (A,DIM,S,CMAP,FONTSIZE,'label','both','legend','gridded')%% INPUT%    DATA  Dataset%   ...    See SCATTERD%% OUTPUT%% DESCRIPTION% SCATTERDUI is a wrapper around SCATTERD (see SCATTERD for the options). If% the user clicks on a sample in the plot, the corresponding index in a% dataset is written nearby. A right-button click clears all printed indices. % Buttons along axes allow for browsing through the dataset dimensions. % Selected points are remembered when the plotted dimension changes.%% SEE ALSO% SCATTERD % This script is based on the segmentgui of Cris Luengo % <cris@ph.tn.tudelft.nl>.% Copyright: Pavel Paclik, pavel@ph.tn.tudelft.nl% Faculty of Applied Sciences, Delft University of Technology% P.O. Box 5046, 2600 GA Delft, The Netherlands% $Id: scatterdui.m,v 1.8 2006/10/23 10:17:24 davidt Exp $function fig_hnd=scatterdui (varargin)	prtrace (mfilename);	% First argument is dataset.	a = varargin{1};	% Place all remaining arguments in a string, for the call to SCATTERD.	args = '';	for i = 2:size(varargin,2)		eval(sprintf('p%d = varargin{%d};',i,i)); args = [args sprintf(',p%d',i)];	end	% Are we called through one of the callback handles?	if (ischar(a)) 		switch (a)		 case 'denclick_scatter'		  scatterdui_inspect;		 case 'scatterdui_change_dim'		  scatterdui_change_dim(varargin{2});		end		return	end	% Get figure handle, clear window and start new axis.	%	fig_hnd = gcf; clf; ui_data.axis = subplot(1,1,1);         % open a new figure        figure; fig_hnd = gcf; ui_data.axis = subplot(1,1,1); 	% tag this figure	set(fig_hnd,'tag','scatterdui');	set(fig_hnd,'busyaction','cancel','DoubleBuffer','on');		% Call SCATTERD.	ui_data.args = args; eval(['scatterd(a' args,');']);	% Store the data for later reference.	ui_data.a = a;		% Define viable neighborhood for sample ID back-reading.	range_x = get(ui_data.axis,'xlim'); range_y = get(ui_data.axis,'ylim');	ui_data.neighborhood = [0.01*abs(range_x(1)-range_x(end)) ...		    0.01*abs(range_y(1)-range_y(end))];	ui_data.point_id = []; ui_data.text_hnd = [];	% Add callback function to axis.	set(ui_data.axis,'ButtonDownFcn','scatterdui(''denclick_scatter'')');	set(get(ui_data.axis,'Children'),'ButtonDownFcn','scatterdui(''denclick_scatter'')');	% Initialise current X- and Y-dimensions.	ui_data.xdim = 1; ui_data.ydim = 2;	% Place buttons for increasing/decreasing the dimensions (features) of 	% the dataset shown on the X- and Y-axes of the plot.	pos = get(fig_hnd,'position');	ui_data.x_dim_inc = uicontrol('style','pushbutton', ...				      'string','->', ...				      'units','normalized', ...				      'position',[0.9 0.02 0.05 0.05], ...				      'callback','scatterdui(''scatterdui_change_dim'',''xinc'')');	ui_data.x_dim_dec = uicontrol('style','pushbutton', ...				      'string','<-', ...				      'units','normalized', ...				      'position',[0.85 0.02 0.05 0.05], ...				      'callback','scatterdui(''scatterdui_change_dim'',''xdec'')');	ui_data.y_dim_inc = uicontrol('style','pushbutton', ...				      'string','^', ...				      'units','normalized', ...				      'position',[0.02 0.9 0.05 0.05], ...				      'callback','scatterdui(''scatterdui_change_dim'',''yinc'')');	ui_data.y_dim_dec = uicontrol('style','pushbutton', ...				      'string','v', ...				      'units','normalized', ...				      'position',[0.02 0.85 0.05 0.05], ...				      'callback','scatterdui(''scatterdui_change_dim'',''ydec'')');	% Draw feature labels.	featlabs = getfeat(ui_data.a);	if (isnumeric(featlabs)), featlabs = num2str(featlabs); end;	xlabel(sprintf('%d : %s',ui_data.xdim,featlabs(ui_data.xdim,:)));	ylabel(sprintf('%d : %s',ui_data.ydim,featlabs(ui_data.ydim,:)));	% Save user interface data into figure window. First clear it, to	% avoid a (sometimes) very slow update.	set(fig_hnd,'userdata',[]); set(fig_hnd,'userdata',ui_data); 	hold on;	if nargout == 0		clear('fig_hnd');	end		return	% SCATTERDUI_CHANGE_DIM (CODE)%% Call-back for the buttons in the window: increases or decreases the% feature number (dimension) the plot represents on the x- or y-axis. CODE% can be 'xinc', 'xdec', 'yinc', 'ydec'.function scatterdui_change_dim (code)	fig_hnd = gcbf; ui_data = get(fig_hnd,'userdata');	[m,k,c] = getsize(ui_data.a);	% Increase/decrease feature shown in X- or Y-axis. Loop around:	% feature k+1 -> 1, features 1-1 -> k.	switch (code)	 case 'xinc'	  ui_data.xdim = ui_data.xdim + 1;	  if (ui_data.xdim > k)   ui_data.xdim = 1; end			 case 'xdec'	  ui_data.xdim = ui_data.xdim - 1;	  if (ui_data.xdim == 0), ui_data.xdim = k; end	 case 'yinc'	  ui_data.ydim = ui_data.ydim + 1;	  if (ui_data.ydim > k),  ui_data.ydim = 1; end	 case 'ydec'	  ui_data.ydim = ui_data.ydim - 1;	  if (ui_data.ydim == 0), ui_data.ydim = k; end	end	% Redraw figure.	cla; ui_data.axis = subplot(1,1,1);	% I had to add this to make it work!!!:	scatterd(ui_data.a(:,[1 1]));		eval(['scatterd(ui_data.a(:,[ui_data.xdim,ui_data.ydim])' ui_data.args,');']);	% Draw feature labels.	featlabs = getfeat(ui_data.a);	if (isnumeric(featlabs)), featlabs = num2str(featlabs); end;%PP!! deal with cell labels here: I don't know how, yet	if (iscellstr(featlabs))	   featlabs = (1:size(featlabs,1))'; 	   featlabs = num2str(featlabs);	end	xlabel(sprintf('%d : %s',ui_data.xdim,featlabs(ui_data.xdim,:)));	ylabel(sprintf('%d : %s',ui_data.ydim,featlabs(ui_data.ydim,:)));	% Define viable neighborhood for sample ID back-reading.	range_x = get(ui_data.axis,'xlim'); range_y = get(ui_data.axis,'ylim');	ui_data.neighborhood = [0.01*abs(range_x(1)-range_x(end)) ...		    0.01*abs(range_y(1)-range_y(end))];	 	% Redraw selected points.	ui_data.text_hnd = ...	    scatterdui_add_labels(ui_data.point_id, ...				  +ui_data.a(:,[ui_data.xdim,ui_data.ydim]), ...				  ui_data.neighborhood );		% Add callback function to axis.	set(ui_data.axis,'ButtonDownFcn','scatterdui(''denclick_scatter'')');	set(get(ui_data.axis,'Children'),'ButtonDownFcn',...			  'scatterdui(''denclick_scatter'')');		% Save user interface data into figure window.   	set(fig_hnd,'userdata',[]); set(fig_hnd,'userdata',ui_data); 	return	% SCATTERDUI_INSPECT%% Callback for mouse-click in axis. Finds all samples in the neighbourhood% of the clicked point and plots them, with text labels containing the index.% Right-click clears all selected points.function scatterdui_inspect	fig_hnd = gcbf; ui_data = get(fig_hnd,'userdata');	if (strcmp(get(fig_hnd,'SelectionType'),'alt'))		% Clear all selected points.		delete(ui_data.text_hnd); ui_data.text_hnd = []; ui_data.point_id = [];	else		point = get(ui_data.axis,'CurrentPoint');		% Get all points close to the selected point from the dataset.		% 'Close' means inside a box around POINT defined by UI_DATA.NEIGHBORHOOD.		a = +ui_data.a; a = a(:,[ui_data.xdim,ui_data.ydim]);		ind = find((a(:,1) >= (point(1) - ui_data.neighborhood(1))) & ...			   (a(:,1) <= (point(1) + ui_data.neighborhood(1))) & ...			   (a(:,2) >= (point(3) - ui_data.neighborhood(2))) & ...			   (a(:,2) <= (point(3) + ui_data.neighborhood(2))));		% If any points fall inside the box, plot them and add them (and their		% text handles) to the user interface data.		if (length(ind) > 0)			text_hnd = scatterdui_add_labels(ind,a,ui_data.neighborhood);			ui_data.point_id = [ui_data.point_id ind'];			ui_data.text_hnd = [ ui_data.text_hnd text_hnd ];		end	end	% Save user interface data into figure window.   	set(fig_hnd,'userdata',[]); set(fig_hnd,'userdata',ui_data); 	return	% HND = SCATTERDUI_ADD_LABELS (IND,DATA,NEIGHBORHOOD)%% Plots samples with indices IND in DATA, and places the indices as text% labels next to the points (at a (x,y)-distance defined by NEIGHBORHOOD).% Returns handles to all text labels in HND.function hnd = scatterdui_add_labels (ind,data,neighborhood)	hold on;	% Plot the data points, plus their index in the dataset as text.	hnd = plot(data(ind,1),data(ind,2),'gh');	for i = 1:length(ind)		hnd=[hnd text(data(ind(i),1) + neighborhood(1), ...			      data(ind(i),2) + neighborhood(2), ...			      sprintf('%d',ind(i)))];	end	% Add callback function to each of the texts.	set(hnd,'ButtonDownFcn','scatterdui(''denclick_scatter'')');	return

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久国产精品色婷婷| 日韩精品色哟哟| 国产色一区二区| 亚洲精品在线观看视频| 欧美大片一区二区| 久久免费美女视频| 国产三级久久久| 亚洲人妖av一区二区| 亚洲丝袜另类动漫二区| 一区二区三区免费在线观看| 一个色综合av| 日产欧产美韩系列久久99| 日本欧美韩国一区三区| 国产精品一区免费在线观看| 国产精品一二三区在线| eeuss鲁片一区二区三区在线看| 99国产欧美另类久久久精品| 在线观看亚洲精品| 欧美大度的电影原声| 国产三级精品三级| 亚洲综合偷拍欧美一区色| 热久久久久久久| 大陆成人av片| 欧美亚洲综合另类| 欧美r级在线观看| 国产精品理论片| 丝袜脚交一区二区| 风间由美性色一区二区三区| 91传媒视频在线播放| 日韩三级.com| 成人欧美一区二区三区黑人麻豆 | 久久久久久久久久久久电影| 欧美激情中文字幕| 天天av天天翘天天综合网 | 亚洲精品国产视频| 青青草97国产精品免费观看无弹窗版 | 色94色欧美sute亚洲13| 欧美v国产在线一区二区三区| 中文字幕一区二区视频| 免费在线观看一区| 99vv1com这只有精品| 精品日韩99亚洲| 亚洲伊人伊色伊影伊综合网| 久久69国产一区二区蜜臀| www.亚洲在线| 精品国产99国产精品| 玉米视频成人免费看| 韩国v欧美v亚洲v日本v| 欧美日韩成人在线一区| 亚洲精品乱码久久久久久日本蜜臀| 麻豆成人综合网| 欧美日韩国产首页| 中文字幕日韩一区| 黄色小说综合网站| 91精品国产福利| 一区二区三区欧美亚洲| 成人av网站在线观看免费| 精品久久久久久久久久久久久久久久久| 亚洲人成亚洲人成在线观看图片| 国产mv日韩mv欧美| 国产人伦精品一区二区| 美日韩一区二区| 欧美日韩国产美| 亚洲成人福利片| 欧美日韩一区小说| 亚洲制服丝袜av| 欧美性猛片aaaaaaa做受| 亚洲最新视频在线观看| 色综合久久六月婷婷中文字幕| 欧美韩国一区二区| 成人激情免费视频| 国产精品久久久久四虎| 成人av在线资源| 国产精品久久久久三级| 成人高清视频免费观看| 中文字幕一区二区在线观看| 91小视频免费观看| 亚洲一区二区三区在线播放| 色国产综合视频| 日韩精品一区第一页| 日韩三区在线观看| 国产麻豆精品视频| 国产精品午夜久久| 色综合色狠狠天天综合色| 亚洲精品欧美激情| 欧美妇女性影城| 久久99国产乱子伦精品免费| 久久久噜噜噜久噜久久综合| 成人av高清在线| 亚洲一区在线电影| 日韩欧美高清dvd碟片| 韩国女主播成人在线观看| 国产精品乱码妇女bbbb| 色av成人天堂桃色av| 美日韩一级片在线观看| 国产精品素人视频| 欧美日韩国产一区二区三区地区| 婷婷中文字幕综合| 欧美精彩视频一区二区三区| 色乱码一区二区三区88| 免费看欧美女人艹b| 中文一区一区三区高中清不卡| 91在线观看污| 麻豆91在线播放| 17c精品麻豆一区二区免费| 在线精品亚洲一区二区不卡| 欧美aaaaa成人免费观看视频| 欧美激情艳妇裸体舞| 欧美性猛片xxxx免费看久爱| 国产一区二区三区电影在线观看| 自拍偷自拍亚洲精品播放| 欧美一区二区三区日韩视频| 国产jizzjizz一区二区| 亚洲成人tv网| 国产欧美视频一区二区三区| 欧美蜜桃一区二区三区| 不卡一区在线观看| 蜜桃av一区二区三区| 亚洲一级二级在线| 国产精品动漫网站| 精品伦理精品一区| 欧美福利一区二区| 在线观看视频一区二区欧美日韩| 国产综合一区二区| 日韩av网站在线观看| 亚洲精品亚洲人成人网| 亚洲国产成人私人影院tom| 欧美一区二区在线看| 欧美天天综合网| 99麻豆久久久国产精品免费 | 国产在线播放一区三区四| 一区二区三区产品免费精品久久75| 久久久亚洲精华液精华液精华液| 欧美日韩免费观看一区二区三区| 成人黄色大片在线观看| 国内不卡的二区三区中文字幕 | 久久夜色精品一区| 欧美一区二区在线看| 欧美日韩在线播放| 欧美日韩免费在线视频| 欧美在线一区二区| 一本大道av伊人久久综合| 不卡免费追剧大全电视剧网站| 国产一区二区精品久久| 看电视剧不卡顿的网站| 麻豆成人在线观看| 久久99国产精品久久99果冻传媒| 日韩电影一二三区| 五月激情综合网| 青青草国产成人av片免费| 日韩福利视频网| 蓝色福利精品导航| 久久99蜜桃精品| 国产专区综合网| 国产成人av电影在线| 成人免费高清视频| 91在线观看一区二区| 日本精品一级二级| 欧美日韩国产精品成人| 7777精品伊人久久久大香线蕉 | 色综合中文字幕| 色琪琪一区二区三区亚洲区| 欧美在线视频全部完| 欧美日韩国产在线播放网站| 日韩一区二区电影在线| 久久久精品免费免费| 国产精品久久久久久久久果冻传媒| 亚洲欧洲精品一区二区精品久久久| 中文字幕综合网| 亚洲国产成人av| 蜜臀久久99精品久久久久久9| 韩国在线一区二区| 99综合影院在线| 9191久久久久久久久久久| 日韩女优av电影| 亚洲天堂网中文字| 日韩福利电影在线观看| 国产91丝袜在线18| 欧美日韩成人在线| 国产日产欧美一区| 亚洲电影第三页| 久久91精品国产91久久小草| 97久久超碰国产精品| 日韩一区二区影院| **网站欧美大片在线观看| 日本欧美大码aⅴ在线播放| 粉嫩av一区二区三区粉嫩| 欧美男同性恋视频网站| 亚洲国产成人私人影院tom| 爽爽淫人综合网网站| 国产福利91精品一区| 欧美在线综合视频| 亚洲国产成人自拍| 免费观看久久久4p| 在线亚洲免费视频| 国产欧美视频一区二区三区| 日韩激情一二三区| 色婷婷综合久久久久中文一区二区| 日韩免费观看2025年上映的电影| 亚洲天堂免费看|