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

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

?? som_show_gui.m

?? it is matlab code , som(slef organizing map) tool for matlab
?? M
?? 第 1 頁 / 共 2 頁
字號:
function fig = som_show_gui(input,varargin)%SOM_SHOW_GUI A GUI for using SOM_SHOW and associated functions.%%  h = som_show_gui(sM);%%  Input and output arguments:%    sM     (struct) a map struct: the SOM to visualize%    h      (scalar) a handle to the GUI figure%% This is a graphical user interface to make the usage of SOM_SHOW and% associated functions somewhat easier for beginning users of the SOM% Toolbox.%% How to use the GUI: %  1. Start the GUI by giving command som_show_gui(sM);%  2. Build a list of visualization planes using the buttons %     ('Add components', etc.) on the right %     - the options associated with each of the planes can be %       modified by selecting a plane from the list, and pressing%       the 'Plane options' button%     - the controls below the list apply to all planes%     - the subplot grid size can be controlled using the 'subplots'%       field on top right corner, e.g. '4 3' to get 4 times 3 grid%  3. To visualize the planes, press the 'Visualize' button on the bottom.%  4. To add hits, labels, trajectories (or comets) to the %     visualization, or clear them, or reset the colorbars, %     see the tools available from the 'Tools' menu. %     - the arguments to those tools are either given in the tool, %       or read from the workspace ('Select variable' buttons)%     - the tools always apply to the latest figure created%       by the GUI%  5. To quit, press the 'Close' button on the bottom.%% Known bugs:%  - Especially when using the adding tools, you can easily %    give arguments which do not fit each other, and this %    results in a lengthy (and often cryptic) error message.%    In such a case, check the arguments you are giving to see%    if there's something wrong with them. See function %    SOM_SHOW_ADD for more information on how the options %    can be set.%  - The default values in the adding tools may not be %    very reasonable: you may have to try out different %    values for e.g. markersize before getting the kind of%    result you want.% % SOM_SHOW_GUI has two subfunctions: VIS_SHOW_GUI_COMP and % VIS_SHOW_GUI_TOOL. These are for internal use of SOM_SHOW_GUI.%% See also SOM_SHOW, SOM_SHOW_ADD, SOM_SHOW_CLEAR, SOM_RECOLORBAR.% Copyright (c) 2000 by Roman Feldman and Juha Vesanto% Contributed to SOM Toolbox on August 22nd, 2000% http://www.cis.hut.fi/projects/somtoolbox/ % Version 2.0beta roman 160800 juuso 220800%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%                                    MAIN                                   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%warning off;if (nargin < 1)  errordlg({'Make sure you have SOM as input argument'; ''; ...            'example: som_show_gui(sMap)'},'Error in SOM_VIS: input arguments');  returnendif isstruct(input)  fig_h = create_main_gui(input);  if (nargout > 0) fig = fig_h; end  return;elseif ischar(input)  action = lower(input);  %   udata = get(varargin{1},'UserData');  plot_array = udata.plot_array;  l = length(plot_array);  list1_h = udata.h(1);  if (strcmp(action,''))    errordlg('','Error in SOM_VIS: input arguments');    return;  %%%%%%%%%%%%%%%%%%%%  % add_selected_comp  %  elseif (strcmp(action,'add_selected_comp'))    if isempty(plot_array(1).string), tmp = 1; else tmp = l+1; end     [sel,ok] = listdlg('ListString',udata.sM.comp_names,...                       'Name','Component selection',...                       'PromptString','Select components to add');      if ok & ~isempty(sel),       for i=1:length(sel),        plot_array(tmp+i-1).string = udata.sM.comp_names{sel(i)};         plot_array(tmp+i-1).args = {'comp' sel(i)};        udata.property{tmp+i-1} = {0};      end            set(list1_h,'Value',tmp+i-1, ...                  'String',{plot_array(:).string});    end    udata.plot_array = plot_array;    set(varargin{1},'UserData',udata);  %%%%%%%%%%%%%%%%%%%%  % add_all_comps  %  elseif (strcmp(action,'add_all_comps'))    if (strcmp(plot_array(1).string,''))      tmp = 1;    else      tmp = l+1;    end    indx = length(udata.sM.comp_names);    for (i=1:indx)      plot_array(tmp+i-1).string = udata.sM.comp_names{i};      plot_array(tmp+i-1).args = {'comp' i};      udata.property{tmp+i-1} = {0};    end	    % update list    set(list1_h,'Value',tmp+indx-1, ...                'String',{plot_array(:).string});    udata.plot_array = plot_array;    set(varargin{1},'UserData',udata);  %%%%%%%%%%%%%%%%%%%%  % add_u_matrix  %  elseif (strcmp(action,'add_u_matrix'))    if (strcmp(plot_array(1).string,''))      tmp = 1;    else      tmp = l+1;    end    plot_array(tmp).string = 'U-matrix';    plot_array(tmp).args = {'umat' 'all'};    udata.property{tmp} = {0 'U-matrix' 1:length(udata.sM.comp_names)};    % update list    set(list1_h,'Value',tmp, ...                'String',{plot_array(:).string});    udata.plot_array = plot_array;    set(varargin{1},'UserData',udata);  %%%%%%%%%%%%%%%%%%%%  % add_colorplane  %  elseif (strcmp(action,'add_colorplane'))    if (strcmp(plot_array(1).string,''))      tmp = 1;    else      tmp = l+1;    end    plot_array(tmp).string = 'color plane';    c = som_colorcode(udata.sM);    plot_array(tmp).args = {'color' c};    udata.property{tmp} = {0 'Color code' {'rgb1' 'rgb2' 'rgb3' 'rgb4' 'hsv' '-variable-'} 1};    % update list    set(list1_h,'Value',tmp, ...                'String',{plot_array(:).string});    udata.plot_array = plot_array;    set(varargin{1},'UserData',udata);  %%%%%%%%%%%%%%%%%%%%  % add_empty  %  elseif (strcmp(action,'add_empty'))    if (strcmp(plot_array(1).string,''))      tmp = 1;    else      tmp = l+1;    end    plot_array(tmp).string = 'empty plane';    plot_array(tmp).args = {'empty' ''};    udata.property{tmp} = {''};    % update list    set(list1_h,'Value',tmp, ...                'String',{plot_array(:).string});    udata.plot_array = plot_array;    set(varargin{1},'UserData',udata);  %%%%%%%%%%%%%%%%%%%%  % remove  %  elseif (strcmp(action,'remove'))    rm_indx = get(list1_h,'Value');    rm_l = length(rm_indx);    % rebuild array    incl_inds = setdiff(1:length(plot_array),rm_indx);    if isempty(incl_inds),       clear plot_array;      plot_array(1).args = {};      plot_array(1).string = '';      udata.property = {};      udata.property{1} = {};    else      plot_array = plot_array(incl_inds);      udata.property = udata.property(incl_inds);    end    set(list1_h,'Value',length(plot_array), ...                'String',{plot_array(:).string});    udata.plot_array = plot_array;    set(varargin{1},'UserData',udata);  %%%%%%%%%%%%%%%%%%%%  % remove_all  %  elseif (strcmp(action,'remove_all'))    plot_array = [];    plot_array(1).args = {};    plot_array(1).string = '';    udata.property = {};    set(list1_h,'Value',1, ...                'String',{plot_array(:).string});    udata.plot_array = plot_array;    set(varargin{1},'UserData',udata);  %%%%%%%%%%%%%%%%%%%%  % more_options  %  elseif (strcmp(action,'more_options'))    vis_show_gui_comp(varargin{1},get(list1_h,'Value'),'init');  %%%%%%%%%%%%%%%%%%%%  % close  %  elseif (strcmp(action,'close'))    close(varargin{1});  %%%%%%%%%%%%%%%%%%%%  % visualize  %  elseif (strcmp(action,'visualize'))     %% s = {k k.^2}; plot(s{:});    current_fig = varargin{1};     figure;    args = [{udata.sM} plot_array(:).args];    % edge    tmp = get(udata.h(2),'UserData');    i = get(udata.h(2),'Value');    args = [args {'edge' tmp{i}}];    % bar    tmp = get(udata.h(3),'UserData');    i = get(udata.h(3),'Value');    args = [args {'bar' tmp{i}}];    % norm    tmp = get(udata.h(4),'UserData');    i = get(udata.h(4),'Value');    args = [args {'norm' tmp{i}}];    % size    tmp = get(udata.h(5),'String');    args = [args {'size' eval(tmp)}];    % colormap    tmp = get(udata.h(6),'String');    if ~isempty(tmp)      args = [args {'colormap' eval(tmp)}];    end    % footnote    tmp = get(udata.h(7),'String');    args = [args {'footnote' tmp}];    % subplots    tmp = get(udata.h(8),'String');    if ~(strcmp(tmp,'default') | isempty(tmp))      tmp2 = sscanf(tmp,'%i %i');      if length(tmp2)<2, tmp2 = sscanf(tmp,'%ix%i'); end      if length(tmp2)<2, tmp = eval(tmp);      else tmp = tmp2';      end      if length(tmp)<2, tmp(2) = 1; end      if tmp(1)*tmp(2)<length(get(udata.h(1),'string')),        close(varargin{1});        errordlg('Too small subplot size', ...                 'Error in SOM_VIS: subplot size');        return;      end      args = [args {'subplots' tmp}];    end    som_show(args{:});    % udata.vis_h = varargin{1};    %  first refresh plot info    udata.vis_h = setdiff( ...                    udata.vis_h, ...                    setdiff(udata.vis_h,get(0,'children')));    udata.vis_h = [udata.vis_h gcf];    set(current_fig,'UserData',udata);  else    ;  endelse  errordlg({'Make sure you have SOM as input argument'; ''; ...            'example: som_show_gui(sMap)'},'Error in SOM_VIS: input arguments');end%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ----------------------        SUBFUNCTIONS       -----------------------  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%                              CREATE_MAIN_GUI                              %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%function fig_h = create_main_gui(sM)oldFigNumber=watchon;% init variablesFIGURENAME = 'SOM_SHOW_GUI';plot_array = [];plot_array(1).args = {};plot_array(1).string = '';% colorsfig_color = [0.8 0.8 0.8];bg_color1 = [0.701960784313725 0.701960784313725 0.701960784313725];bg_color2 = [0.9 0.9 0.9];%%%%  positions  %%%%%%---------  figurefig_i =            [0.02 0.25];fig_s =            [0.24 0.55];%---------  ue = 0.02;th = 0.03;hint_text_pos =                [0.05 0.94 0.8 th];big_frame_pos =                [ue 0.38 (1-2*ue) 0.56];planes_listbox_text_pos =      [0.07 0.87 0.3 th];planes_listbox_pos =           [(ue+0.03) 0.395 0.46 0.47];subplots_text_pos =            [0.53 0.885 0.2 th];subplots_pos =                 [0.73 0.88 0.22 0.05];  ah = 0.045; d = (planes_listbox_pos(4) - 10*ah)/7;add_components_pos =           [0.53 (sum(planes_listbox_pos([2 4]))-ah) 0.42 ah]; tmp = add_components_pos(2)-(d+ah);add_all_components_pos =       [0.53 tmp 0.42 ah]; tmp = add_all_components_pos(2)-(d+ah);add_u_matrix_pos =             [0.53 tmp 0.42 ah]; tmp = add_u_matrix_pos(2)-(d+ah);add_colorplane_pos =           [0.53 tmp 0.42 ah]; tmp = add_colorplane_pos(2)-(d+ah);add_empty_pos =                [0.53 tmp 0.42 ah]; tmp = add_empty_pos(2)-2*(d+ah)+d;remove_pos =                   [0.53 tmp 0.42 ah]; tmp = remove_pos(2)-(d+ah);remove_all_pos =               [0.53 tmp 0.42 ah]; tmp = remove_all_pos(2)-2*(d+ah)+d;plane_options_pos =            [0.53 tmp 0.42 ah]; ph = 0.041;dd = (ph-th)/2;tmp = big_frame_pos(2) - (planes_listbox_pos(2)-big_frame_pos(2)) - ph;ie1 = 0.25;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产资源精品在线观看| 欧美一区二区视频观看视频| 狠狠色综合播放一区二区| 午夜久久久影院| 成人av在线一区二区| 欧美日韩国产首页| 午夜视频一区二区三区| 91免费版在线| 亚洲制服丝袜av| 97精品电影院| 成人黄色软件下载| 欧美一卡二卡三卡四卡| 在线免费亚洲电影| 99精品欧美一区二区三区小说| 久久这里只精品最新地址| 99久久久久久99| 国产精品美女一区二区三区| 日精品一区二区| 欧美中文字幕亚洲一区二区va在线 | 国产一区二区三区日韩| 91猫先生在线| 精品av综合导航| 亚洲国产日韩一区二区| 色综合网色综合| 一区二区三区资源| 极品少妇一区二区| 久久综合色鬼综合色| 日本少妇一区二区| 日韩欧美激情在线| 精品一区二区三区久久| 日韩视频免费观看高清在线视频| 久久99久国产精品黄毛片色诱| 精品视频一区 二区 三区| 日本91福利区| 久久天天做天天爱综合色| 国产精品一区二区不卡| 综合欧美一区二区三区| 在线精品视频免费观看| 午夜伊人狠狠久久| 久久久99久久| 欧美日韩一二区| 国产福利一区在线| 丝袜亚洲另类丝袜在线| 欧美精品一区二区久久婷婷| av在线一区二区三区| 成人在线视频一区二区| 精品久久久久久无| 欧美性猛交xxxx乱大交退制版| 国内久久精品视频| 亚洲高清免费观看| 亚洲欧美日韩国产中文在线| 国产精品乱人伦中文| 精品国产一区久久| 日韩手机在线导航| 日韩三级中文字幕| 91精品在线观看入口| 欧美三级资源在线| 91污片在线观看| 一本久久a久久免费精品不卡| 成人激情图片网| 成人h版在线观看| 99久久精品免费精品国产| 国产乱码字幕精品高清av| 国产一区二区三区免费播放| 国内成人精品2018免费看| 国产精品一区2区| 国产成人aaaa| 在线亚洲免费视频| 精品久久免费看| 自拍偷拍国产精品| 日本网站在线观看一区二区三区| 激情综合色综合久久| 色综合色综合色综合色综合色综合| 在线精品视频小说1| 日韩一区二区免费在线电影| 2023国产精品| 日韩美女视频19| 久久爱另类一区二区小说| 成人免费毛片嘿嘿连载视频| 色天天综合久久久久综合片| 制服丝袜亚洲播放| 亚洲视频图片小说| 美女国产一区二区| 欧美中文字幕一区| 国产片一区二区| 国产综合色产在线精品| 欧洲精品一区二区| 亚洲国产精品传媒在线观看| 日韩专区在线视频| 日本高清免费不卡视频| 国产三级欧美三级| 日韩精品五月天| 高清成人免费视频| 99久久久精品| 国产精品高潮呻吟| 国产高清成人在线| 精品久久人人做人人爽| 全部av―极品视觉盛宴亚洲| 欧美三片在线视频观看| 亚洲日穴在线视频| 在线亚洲欧美专区二区| 成人欧美一区二区三区黑人麻豆 | 亚洲乱码精品一二三四区日韩在线| 青青草国产成人av片免费| 欧美剧在线免费观看网站| 亚洲与欧洲av电影| 欧美日韩视频在线一区二区| 视频一区国产视频| 精品国产髙清在线看国产毛片| 久久99精品国产91久久来源| 精品国精品自拍自在线| 国产福利一区二区三区| 国产精品国产精品国产专区不蜜 | 亚洲成人精品一区二区| 91麻豆精品国产无毒不卡在线观看| 性做久久久久久久久| 欧美精品一区二区蜜臀亚洲| 丰满少妇在线播放bd日韩电影| 亚洲国产精品av| 91 com成人网| 9l国产精品久久久久麻豆| 爽好久久久欧美精品| 国产欧美日韩三级| 日韩美女视频在线| 欧美色图免费看| 成人午夜在线播放| 日韩不卡一二三区| 依依成人精品视频| 欧美激情在线免费观看| 欧美一级一级性生活免费录像| 99精品热视频| 欧美性做爰猛烈叫床潮| 粉嫩一区二区三区性色av| 视频一区国产视频| 秋霞电影网一区二区| 午夜视频在线观看一区二区三区| 亚洲少妇中出一区| 中文字幕永久在线不卡| 中文字幕一区二区在线观看| 久久人人97超碰com| 日韩欧美一区中文| 91精品国产综合久久精品| 精品久久一区二区三区| 日韩精品一区二| 久久久亚洲国产美女国产盗摄 | 精品日韩一区二区| 国产三级久久久| 亚洲欧美日韩久久| 午夜欧美大尺度福利影院在线看| 日韩影院在线观看| 国产乱国产乱300精品| 91网站在线播放| 884aa四虎影成人精品一区| 日韩亚洲电影在线| 亚洲色图丝袜美腿| 久久精品国产一区二区| 91在线免费播放| 久久婷婷国产综合国色天香| 亚洲国产一二三| 国产一区二区三区观看| 在线国产亚洲欧美| 中文字幕五月欧美| 男女视频一区二区| 欧美日韩精品一区二区三区四区| 国产精品视频第一区| 日韩精品视频网| 欧美怡红院视频| 欧美日本一区二区| 中文字幕在线免费不卡| 精品一区二区三区免费观看| 色综合久久综合网欧美综合网| 国产视频一区二区在线| 韩国中文字幕2020精品| 精品成人在线观看| 麻豆精品一区二区av白丝在线| 日本丶国产丶欧美色综合| 亚洲国产精品av| 99久久99久久久精品齐齐| 欧美精品一区二区三区很污很色的| 天堂精品中文字幕在线| 日韩精品专区在线| 美女一区二区三区在线观看| 91精品国产综合久久久久| 亚洲乱码国产乱码精品精的特点| 国产宾馆实践打屁股91| 欧美韩国一区二区| 成人动漫在线一区| 亚洲综合999| 91精品国模一区二区三区| 久久国产麻豆精品| 久久久久久久久久看片| k8久久久一区二区三区| 亚洲最快最全在线视频| 日韩精品在线网站| 97aⅴ精品视频一二三区| 亚洲免费观看高清完整版在线| 欧美精品乱人伦久久久久久| 国内精品国产三级国产a久久| 国产高清亚洲一区| 亚洲午夜免费电影|