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

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

?? som_plotplane.m

?? 適用于需要用matlab環境
?? M
字號:
function h=som_plotplane(varargin)%SOM_PLOTPLANE  Visualize the map prototype vectors as line graphs%% h=som_plotplane(lattice, msize, data, [color], [scaling], [pos])% h=som_plotplane(topol, data, [color], [scaling], [pos])%%  som_plotplane('hexa',[5 5], rand(25,4), jet(25)) %  som_plotplane(sM, sM.codebook)%% Input and output arguments ([]'s are optional)%  lattice   (string) grid 'hexa' or 'rect'%  msize     (vector) size 1x2, defines the grid size %            (matrix) size Mx2, defines explicit coordinates: in %             this case the first argument does not matter %  topol     (struct) map or topology struct%  data      (matrix) Mxd matrix, M=prod(msize) %  [color]   (matrix) size Mx3, gives an individual color for each graph%            (string) ColorSpec gives the same color for each%             graph, default is 'k' (black)%  [scaling] (string) 'on' or 'off', default is 'on' %  [pos]     (vector) 1x2 vector that determines translation. %             Default is no translation.%%  h         (vector) the object handles for the LINE objects%%  If scaling is set on, the data will be linearly scaled in each%  unit so that min and max values span from lower to upper edge%  in each unit. If scaling is 'off', the proper scaling is left to %  the user: values in range [-.5,.5] will be plotted within the limits of the %  unit while values exceeding this range will be out of the unit. %  Axis are set as in SOM_CPLANE.%% For more help, try 'type som_plotplane' or check out online documentation.% See also SOM_PLANE, SOM_PIEPLANE, SOM_BARPLANE%%%%%%%%%%%%% DETAILED DESCRIPTION %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% som_plotplane%% PURPOSE% % Visualizes the map prototype vectors as line graph%% SYNTAX%%  h = som_plotplane(topol, data)%  h = som_plotplane(lattice, msize, data)%  h = som_plotplane(..., color)%  h = som_plotplane(..., color, scaling)%  h = som_plotplane(..., color, scaling, pos)%% DESCRIPTION%%  Visualizes the map prototype vectors as line graph%% KNOWN BUGS%%  It is not possible to specify explicit coordinates for map%  consistig of just one unit as then the msize is interpreted as%  map size.%% FEATURES%%  - the colors are fixed: changing colormap in the figure (see%    COLORMAP) will not affect the coloring of the plots%% REQUIRED INPUT ARGUMENTS% % lattice  The basic topology%%   (string) 'hexa' or 'rect' positions the plots according to hexagonal or %            rectangular map lattice.%% msize    The size of the map grid     %         %   (vector) [n1 n2] vector defines the map size (height n1 units, width n2 %            units, total M=n1 x n2 units). The units will be placed to their %            topological locations in order to form a uniform hexagonal or %            rectangular grid.   %   (matrix) Mx2 matrix defines arbitary coordinates for the M units.%            In this case the argument 'lattice' has no effect.% % topol    Topology of the map grid%%   (struct) map or topology struct from which the topology is taken% % data     The data to be visualized%%   (matrix) Mxd matrix of data vectors. % % OPTIONAL INPUT ARGUMENTS%% If unspecified or given empty values ('' or []), default values% will be used for optional input arguments.% % color    The color of the plots%%    (string) Matlab's ColorSpec (see help plot) string gives the same color %             for each line.%%    (matrix) Mx3 matrix assigns an RGB color determined by the Nth row of%             the matrix to the Nth plot. %%    (vector) 1x3 RGB vector gives the same color for each line.%% scaling  The data scaling mode%%    (string) 'on or 'off': if scaling is set on, the data will be%             linearly scaled in each unit so that min and max values span from %             lower to upper edge in each unit. If scaling is 'off', the proper %             scaling is left to the user: values in range [-.5,.5] will be plotted %             within the limits of the unit while values exceeding this%             range will be out of the unit.%% pos      Position of the origin          %%    (vector) This is meant for drawing the plane in arbitary location in a %             figure. Note the operation: if this argument is given, the%             axis limits setting part in the routine is skipped and the limits%             setting will be left to be done by MATLAB's%             defaults. By default no translation is done.%% OUTPUT ARGUMENTS%%  h (scalar)  Handle to the created patch object%% OBJECT TAG     %% Object property 'Tag' is set to 'planePlot'.       %% EXAMPLES%% %%% Create the data and make a map %    % data=rand(1000,20); map=som_make(data);% % %%% Create a 'gray' colormap that has 64 levels%    % color_map=gray(64);% % %%% Draw plots using red color%    % som_plotplane(map, map.codebook,'r');%% %%% Calculate hits on the map and calculate colors so that%     black = min. number of hits and white = max. number of hits%% hit=som_hits(map,data); color=som_normcolor(hit(:),color_map);%% %%% Draw plots again. Now the gray level indicates the number of hits to %     each node%% som_plotplane(map, map.codebook, color);%% SEE ALSO  %% som_cplane     Visualize a 2D component plane, u-matrix or color plane% som_barplane   Visualize the map prototype vectors as bar diagrams.% som_pieplane   Visualize the map prototype vectors as pie charts% Copyright (c) 1999-2000 by the SOM toolbox programming team.% http://www.cis.hut.fi/projects/somtoolbox/             % Version 2.0beta Johan 160799 juuso 151199 070600%%% Init & Check arguments %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%[nargin, lattice, msize, data, color, scaling, pos] = vis_planeGetArgs(varargin{:});error(nargchk(3, 5, nargin));  % check no. of input args is corrects=0.8; % size of plotif nargin < 6 | isempty(pos)  pos=NaN; endif nargin < 5 | isempty(scaling)  scaling='on'; elseif ~vis_valuetype(scaling,{'string'}) | ...      ~any(strcmp(scaling,{'on','off'})),  error('Scaling should be string ''on'' or ''off''.');endl=size(data,2);if ~isnumeric(msize) | ndims(msize) ~= 2 | size(msize,2)~=2,   error('msize has to be 1x2 grid size vector or a Nx2 coordinate matrix.');elseif size(msize,1) == 1,   xdim=msize(2);   ydim=msize(1);   N=xdim*ydim;   y=repmat(repmat([1:ydim]',xdim,1),1,l);   x=reshape(repmat([1:xdim],ydim*l,1),l,N)';else   x=repmat(msize(:,1),1,l);y=repmat(msize(:,2),1,l);   N=size(msize,1);   lattice='rect';    if isnan(pos),      pos=[0 0];   endendswitch latticecase {'hexa', 'rect'}  ;otherwise  error(['Lattice' lattice ' not implemented!']);end  if ~isnumeric(data) | size(data,1) ~= N  error('Data matrix is invalid or has wrong size!');endif nargin < 4 | isempty(color),  color='k';elseif vis_valuetype(color, {'colorstyle',[N 3]}),  if ischar(color) & strcmp(color,'none'),    error('Colorstyle ''none'' not allowed in som_plotplane.');  endelseif vis_valuetype(color,{'1x3rgb'})  ;elseif ~vis_valuetype(color,{'nx3rgb',[N 3]},'all'),   error('The color matrix has wrong size or contains invalid RGB values or colorstyle.');end[linesx, linesy]=vis_line(data,scaling);%%%% Action %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Making the lattice.% Command view([0 90]) shows the map in 2D properly orientedswitch latticecase 'hexa'  t=find(rem(y(:,1),2));                  % move even rows by .5  x(t,:)=x(t,:)-.5;   x=(x./s+linesx).*s+.5; y=(y./s+linesy).*s;      % scale with scase 'rect'   x=(x./s+linesx).*s; y=(y./s+linesy).*s;         % scale with send%% Draw the map! ...h_=plot(x',y');if size(color,1) == 1  set(h_,'Color',color);else  for i=1:N,    set(h_(i,:),'Color',color(i,:));  endendif ~isnan(pos)  x=x+pos(1);y=y+pos(2);                    % move upper left corner end                                         % to pos(1),pos(2)%% Set axes properties  ax=gca;           vis_PlaneAxisProperties(ax, lattice, msize, pos);%%% Build output %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%set(h_,'Tag','planePlot');                % tag the lineobject if nargout>0, h=h_; end                   % Set h only,                                           % if there really is output                                          %% Subfuntion %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%                                          function [x,y]=vis_line(data, scaling)s=size(data);% normalization between [0,1] if scaling is onif strcmp(scaling,'on')  mn=repmat(min(data,[],2),1,s(2));    mx=repmat(max(data,[],2),1,s(2));  y=-((data-mn)./(mx-mn))+.5;        else                       % -sign is beacuse we do axis ij  y=-data;endx=repmat(linspace(-.5, .5, size(data,2)), size(data,1),1);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
看国产成人h片视频| 亚洲成人av中文| 精品免费99久久| 日韩一区二区三区四区五区六区| 在线亚洲欧美专区二区| 色综合天天综合网天天看片| youjizz国产精品| www.亚洲精品| 色哟哟在线观看一区二区三区| 国产91丝袜在线18| eeuss影院一区二区三区| 91免费看视频| 欧美性生活影院| 欧美视频一区二区三区| 欧美蜜桃一区二区三区| 日韩视频免费观看高清完整版在线观看 | 日日欢夜夜爽一区| 日韩国产精品久久| 久久国产精品第一页| 国产精品亚洲专一区二区三区| 国产一区二区91| 国产精品影视天天线| 国产98色在线|日韩| 成人免费av资源| 色综合久久中文字幕| 欧美在线视频全部完| 欧美一区二区在线看| 精品欧美一区二区久久| 国产欧美一区二区在线观看| 日韩毛片精品高清免费| 丝袜美腿成人在线| 国产一区二区视频在线播放| 粗大黑人巨茎大战欧美成人| 色综合久久六月婷婷中文字幕| 欧美三级午夜理伦三级中视频| 欧美成人免费网站| √…a在线天堂一区| 日韩精品色哟哟| 国产69精品久久久久777| 97久久人人超碰| 7777精品伊人久久久大香线蕉的 | 日韩激情av在线| 国产福利不卡视频| 欧美男生操女生| 国产蜜臀av在线一区二区三区| 亚洲午夜一区二区| 国产一区二区三区免费看 | 亚洲h在线观看| 精品一区二区国语对白| 99久久99久久精品免费看蜜桃 | 精品国内二区三区| 亚洲免费毛片网站| 国产麻豆一精品一av一免费| 色婷婷精品久久二区二区蜜臂av| 欧美精品一区男女天堂| 亚洲午夜视频在线| 99久久婷婷国产综合精品电影 | 99久久er热在这里只有精品15| 欧美一区二区黄| 亚洲国产综合人成综合网站| 成人永久aaa| 精品国产人成亚洲区| 丝袜亚洲精品中文字幕一区| 91丨九色丨蝌蚪富婆spa| 久久麻豆一区二区| 韩国欧美国产一区| 欧美va亚洲va国产综合| 人人爽香蕉精品| 欧美日韩不卡一区| 亚洲一区电影777| 91国产福利在线| 亚洲男人的天堂一区二区| 本田岬高潮一区二区三区| 国产精品久久久久影院| 国产丶欧美丶日本不卡视频| 精品日韩欧美一区二区| 美腿丝袜亚洲一区| 日韩欧美国产综合一区| 免费成人在线影院| 日韩欧美成人激情| 久久福利视频一区二区| 日韩女优电影在线观看| 奇米色一区二区| 精品人伦一区二区色婷婷| 免费人成在线不卡| www国产精品av| 国产精品综合二区| 国产精品乱子久久久久| 99久久精品99国产精品| 亚洲影视在线观看| 欧美一区二区三区免费视频| 蜜桃视频在线一区| 久久日一线二线三线suv| 国产成人午夜精品影院观看视频| 国产婷婷色一区二区三区四区| 国产精品白丝jk白祙喷水网站 | 最新成人av在线| 色综合天天综合在线视频| 亚洲一区中文日韩| 日韩三级免费观看| 丁香婷婷综合色啪| 亚洲一区在线视频| 日韩午夜中文字幕| 成人黄页在线观看| 亚洲一区二区三区四区在线观看| 91精品国产入口| 国产精品亚洲一区二区三区妖精 | 色综合中文字幕国产 | 国产麻豆精品一区二区| 国产精品国产三级国产有无不卡| 91香蕉视频mp4| 免费人成精品欧美精品 | 99久久精品国产麻豆演员表| 亚洲mv在线观看| 久久精品视频网| 欧美午夜精品理论片a级按摩| 喷水一区二区三区| 亚洲欧洲三级电影| 日韩欧美精品三级| 色婷婷久久久久swag精品| 久久成人精品无人区| 亚洲欧美另类在线| 久久久综合精品| 欧美日韩亚洲国产综合| 国产麻豆91精品| 天天亚洲美女在线视频| 国产精品久久久99| 日韩精品一区在线| 欧美日韩国产高清一区| 成人av资源下载| 精品一区二区三区香蕉蜜桃| 一级精品视频在线观看宜春院| 欧美不卡123| 91精品国产一区二区三区蜜臀| 91网站最新网址| 成人午夜激情在线| 韩国av一区二区三区在线观看 | 91精品国产欧美一区二区成人| 成人福利视频网站| 国产美女精品人人做人人爽| 日韩av一级片| 亚洲国产成人porn| 亚洲成人av资源| 亚洲综合一区在线| 麻豆国产精品一区二区三区| 亚洲精品高清在线| 亚洲男人天堂av网| 亚洲另类中文字| 国产精品久久久久aaaa| 国产精品久久免费看| 欧美国产97人人爽人人喊| 久久久国产精品麻豆| 精品盗摄一区二区三区| 日韩一二三区不卡| 欧美xxxx老人做受| 2021国产精品久久精品| 欧美一区二区三区电影| 7777精品伊人久久久大香线蕉超级流畅| 99精品国产一区二区三区不卡| 成人av手机在线观看| 成人不卡免费av| 色哟哟精品一区| 欧美日韩第一区日日骚| 3751色影院一区二区三区| 欧美精品视频www在线观看 | 久久久精品免费网站| 久久综合色婷婷| 亚洲国产精品av| 亚洲视频综合在线| 午夜激情一区二区三区| 日本aⅴ免费视频一区二区三区| 久久成人久久鬼色| 成人视屏免费看| 色综合久久综合| 91精品免费在线| 久久久久国产精品麻豆ai换脸 | 欧美视频中文字幕| 欧美一区二区三区婷婷月色 | 国产麻豆精品theporn| 成人理论电影网| 在线免费不卡视频| 欧美电影免费观看高清完整版| 欧美成人video| 国产精品无遮挡| 亚洲第一狼人社区| 极品瑜伽女神91| 成人免费毛片高清视频| 精品视频1区2区| 久久色在线视频| 亚洲亚洲人成综合网络| 精品一区二区三区久久| 成人午夜激情片| 欧美一区午夜视频在线观看| 欧美国产精品v| 天天爽夜夜爽夜夜爽精品视频| 国产高清视频一区| 欧美一区二区高清| 久久精品国产99久久6| 99久久精品99国产精品| 精品久久久网站|