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

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

?? som_plotplane.m

?? it is matlab code , som(slef organizing map) tool for 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一区二区三区免费野_久草精品视频
欧美日韩情趣电影| 成人国产精品免费网站| 国产亚洲一区二区在线观看| proumb性欧美在线观看| 天堂久久一区二区三区| 亚洲国产高清aⅴ视频| 91精品国产美女浴室洗澡无遮挡| 成人aa视频在线观看| 美女视频黄久久| 亚洲电影第三页| 国产精品毛片久久久久久| 日韩一区二区三区在线观看| 94-欧美-setu| 国产成人在线免费观看| 奇米影视一区二区三区| 亚洲精品欧美激情| 韩国av一区二区三区四区 | 欧美日韩一区二区三区四区五区 | 欧美国产乱子伦| 日韩一本二本av| 欧美日韩aaa| 色网综合在线观看| 99国产欧美久久久精品| 国产成人午夜高潮毛片| 国模娜娜一区二区三区| 免费看日韩精品| 水野朝阳av一区二区三区| 亚洲人吸女人奶水| 国产精品色呦呦| 欧美激情艳妇裸体舞| 精品久久久久久亚洲综合网| 欧美一区二区三区电影| 欧美精品国产精品| 欧美三区在线观看| 欧美日韩激情一区二区三区| 日本丶国产丶欧美色综合| 99视频在线观看一区三区| 成人精品视频一区二区三区尤物| 成人一区二区视频| 成人在线一区二区三区| 成人18视频在线播放| 国产成人av资源| 成人性生交大片免费看中文| 成人av在线一区二区三区| a亚洲天堂av| 色综合av在线| 欧美日韩精品久久久| 91精品国产综合久久福利软件| 欧美二区在线观看| 欧美一区三区四区| 精品国产乱码久久| 国产欧美中文在线| 亚洲天堂福利av| 亚洲图片一区二区| 日本美女一区二区三区视频| 久久成人av少妇免费| 国产精品一区二区三区网站| 国产成a人亚洲精品| 99久久久久免费精品国产 | 在线亚洲人成电影网站色www| 欧美日韩综合在线免费观看| 欧美精品第1页| 欧美成人一级视频| 国产精品国产三级国产a| 亚洲欧洲国产日韩| 亚洲电影第三页| 国产在线精品免费av| 成人免费视频视频| 欧美亚洲另类激情小说| 日韩一区二区三区四区| 久久久久国色av免费看影院| 中文字幕一区二区三中文字幕| 亚洲精品欧美在线| 精品午夜一区二区三区在线观看| 国产美女视频91| 91久久一区二区| 日韩欧美的一区| 国产精品第一页第二页第三页| 亚洲一区二区三区在线| 国产在线播放一区三区四| www.亚洲色图| 欧美一区二区视频在线观看2022| 精品88久久久久88久久久| 欧美日韩精品三区| 国产精品国产三级国产| 欧美精品一区二区三区久久久| 国产精品久久久久久久久免费相片 | 国产网站一区二区| 亚洲高清久久久| 高清成人免费视频| 欧美老年两性高潮| 国产精品久久一卡二卡| 日韩va亚洲va欧美va久久| 成人aa视频在线观看| 欧美一级欧美三级在线观看| 亚洲色图一区二区| 国产激情视频一区二区在线观看| 欧美日韩免费在线视频| 国产精品丝袜久久久久久app| 精品毛片乱码1区2区3区| 日韩久久精品一区| 久久精品欧美一区二区三区不卡| 一区二区三区在线影院| 国产精品亚洲视频| 五月激情综合网| 欧美日韩五月天| 欧美日韩视频一区二区| 国产亚洲精品超碰| 蜜臀av性久久久久蜜臀av麻豆| 99久久精品一区| 欧美激情在线免费观看| 欧美日韩国产一区二区三区地区| 国产人妖乱国产精品人妖| 美国毛片一区二区三区| 欧美日韩高清一区二区三区| 亚洲天堂av一区| www.日韩精品| 国产三级精品视频| 国产伦精品一区二区三区在线观看| 欧美肥妇free| 天堂蜜桃一区二区三区| 欧美三级午夜理伦三级中视频| 最新中文字幕一区二区三区| 国产精品一二三四| 久久众筹精品私拍模特| 卡一卡二国产精品 | 精品人在线二区三区| 婷婷成人激情在线网| 欧美性大战久久久久久久| 亚洲黄色在线视频| 色综合色综合色综合 | 亚洲人成人一区二区在线观看| 国产成人免费网站| 国产亚洲精品中文字幕| 国产精品夜夜爽| 91精品国产乱| 久久99国内精品| 日韩视频永久免费| 亚洲高清久久久| 欧洲另类一二三四区| 亚洲一区二区三区四区中文字幕| 色妹子一区二区| 亚洲成人综合网站| 欧美日本韩国一区| 免费看精品久久片| 久久综合九色综合欧美就去吻| 久久黄色级2电影| 久久综合中文字幕| 国产一区二区三区香蕉| 久久久久久99久久久精品网站| 国产精品一区在线观看你懂的| 国产女主播一区| 色综合一个色综合亚洲| 亚洲sss视频在线视频| 欧美一区二区在线免费观看| 久久99久久久欧美国产| 久久久一区二区三区捆绑**| 不卡视频一二三| 亚洲一区二区综合| 日韩午夜精品视频| 国产激情91久久精品导航| 亚洲欧美区自拍先锋| 欧美乱妇20p| 国产精品一二三区在线| 亚洲欧美日韩中文播放| 欧美久久久久中文字幕| 精品国产乱码久久久久久久久| 欧美一区二区三区视频免费播放| 亚洲国产欧美另类丝袜| 日韩精品中午字幕| 99久久精品国产网站| 日韩有码一区二区三区| 国产欧美在线观看一区| 欧美丝袜丝nylons| 黑人巨大精品欧美黑白配亚洲| 国产精品第四页| 欧美精品久久天天躁| 国产v日产∨综合v精品视频| 亚洲国产精品久久不卡毛片| 久久久五月婷婷| 精品视频一区二区不卡| 国产激情一区二区三区四区 | 国产精品伊人色| 亚洲一区二区三区自拍| 精品久久国产老人久久综合| 9久草视频在线视频精品| 六月丁香综合在线视频| 国产精品精品国产色婷婷| 欧美电影一区二区| 99精品偷自拍| 免费观看30秒视频久久| 亚洲欧美激情视频在线观看一区二区三区| 欧美日韩国产片| jizz一区二区| 九一九一国产精品| 亚洲小说春色综合另类电影| 天天色综合天天| av电影在线观看完整版一区二区 | 日韩电影免费在线看| 国产在线视频不卡二|