9 %> <b>Colors</b> - see @c colors parameter in
colors2map.m
14 function varargout = uip_vis_stackedhists(varargin)
15 % Last Modified by GUIDE v2.5 31-Jul-2013 12:17:22
17 % Begin initialization code - DO NOT EDIT
19 gui_State =
struct(
'gui_Name', mfilename, ...
20 'gui_Singleton', gui_Singleton, ...
21 'gui_OpeningFcn', @uip_vis_stackedhists_OpeningFcn, ...
22 'gui_OutputFcn', @uip_vis_stackedhists_OutputFcn, ...
23 'gui_LayoutFcn', [] , ...
25 if nargin && ischar(varargin{1})
26 gui_State.gui_Callback = str2func(varargin{1});
30 [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
32 gui_mainfcn(gui_State, varargin{:});
34 % End initialization code - DO NOT EDIT
37 % --- Executes just before uip_vis_stackedhists is made visible.
38 function uip_vis_stackedhists_OpeningFcn(hObject, eventdata, handles, varargin)
39 handles.output.flag_ok = 0;
40 guidata(hObject, handles);
44 % --- Outputs from this function are returned to the command clae.
45 function varargout = uip_vis_stackedhists_OutputFcn(hObject, eventdata, handles)
47 uiwait(handles.figure1);
48 handles = guidata(hObject);
49 varargout{1} = handles.output;
54 varargout{1} = output;
58 %############################################
61 function refresh(handles)
66 %
############################################
67 %############################################
69 % --- Executes on button press in pushbuttonOK.
70 function pushbuttonOK_Callback(hObject, eventdata, handles) %#ok<*DEFNU,*INUSL>
73 if isempty(speakdetector)
77 if isempty(sdata_hint)
80 scolors =
cell2str(eval(get(handles.edit_colors, 'String')));
82 handles.output.params = {...
83 'peakdetector', speakdetector, ...
84 'data_hint', sdata_hint, ...
85 'colors', scolors, ...
87 handles.output.flag_ok = 1;
88 guidata(hObject, handles);
95 function popupmenu_subsetsprocessor_Callback(hObject, eventdata, handles)
96 function popupmenu_subsetsprocessor_CreateFcn(hObject, eventdata, handles)
97 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
98 set(hObject,'BackgroundColor','white');
100 function popupmenu_data_hint_Callback(hObject, eventdata, handles)
101 function popupmenu_data_hint_CreateFcn(hObject, eventdata, handles)
102 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
103 set(hObject,'BackgroundColor','white');
105 function popupmenu_peakdetector_Callback(hObject, eventdata, handles)
106 function popupmenu_peakdetector_CreateFcn(hObject, eventdata, handles)
107 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
108 set(hObject,'BackgroundColor','white');
110 function edit_colors_Callback(hObject, eventdata, handles)
111 function edit_colors_CreateFcn(hObject, eventdata, handles)
112 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
113 set(hObject,'BackgroundColor','white');
function colors2map(in colors, in no_hists, in no_informative)
Property peakdetector
=def_peakdetector()
function listbox_get_selected_1stname(in h_listbox)
Property data_hint
=[]. Hint dataset
Visualization - Stacked histograms.
function listbox_load_from_workspace(in classname, in h_list, in flag_blank, in string_empty, in input)
function gui_set_position(in hObject)
function irerrordlg(in errorstring, in dlgname)