5 %> <b>Index of
class to be origin</b> - see
vis_cv::idx_class_origin
10 function varargout = uip_pre_flip_refmean(varargin)
11 % Last Modified by GUIDE v2.5 12-Dec-2011 19:51:12
13 % Begin initialization code - DO NOT EDIT
15 gui_State = struct('gui_Name', mfilename, ...
16 'gui_Singleton', gui_Singleton, ...
17 'gui_OpeningFcn', @uip_pre_flip_refmean_OpeningFcn, ...
18 'gui_OutputFcn', @uip_pre_flip_refmean_OutputFcn, ...
19 'gui_LayoutFcn', [] , ...
21 if nargin && ischar(varargin{1})
22 gui_State.gui_Callback = str2func(varargin{1});
26 [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
28 gui_mainfcn(gui_State, varargin{:});
30 % End initialization code - DO NOT EDIT
33 % --- Executes just before uip_pre_flip_refmean is made visible.
34 function uip_pre_flip_refmean_OpeningFcn(hObject, eventdata, handles, varargin)
35 handles.output.flag_ok = 0;
36 guidata(hObject, handles);
39 % --- Outputs from this function are returned to the command clae.
40 function varargout = uip_pre_flip_refmean_OutputFcn(hObject, eventdata, handles)
42 uiwait(handles.figure1);
43 handles = guidata(hObject);
44 varargout{1} = handles.output;
49 varargout{1} = output;
52 % --- Executes on button press in pushbuttonOK.
53 function pushbuttonOK_Callback(hObject, eventdata, handles)
55 refclass = eval(get(handles.edit_idx_refclass, 'String'));
57 irerror('Index of reference class needs to be >= 1!');
60 handles.output.params = {...
61 'idx_refclass', int2str(refclass) ...
63 handles.output.flag_ok = 1;
64 guidata(hObject, handles);
72 function edit_idx_refclass_Callback(hObject, eventdata, handles)
75 % --- Executes during
object creation, after setting all properties.
76 function edit_idx_refclass_CreateFcn(hObject, eventdata, handles)
77 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
78 set(hObject,'BackgroundColor','white');
82 % --- Executes on selection change in popupmenu_data_input.
83 function popupmenu_data_input_Callback(hObject, eventdata, handles)
86 % --- Executes during
object creation, after setting all properties.
87 function popupmenu_data_input_CreateFcn(hObject, eventdata, handles)
88 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
89 set(hObject,'BackgroundColor','white');
Flips the means around a reference class.
function gui_set_position(in hObject)
function irerrordlg(in errorstring, in dlgname)
Visualization - Cluster Vectors.