5 %>@image html Screenshot-uip_vis_scatter2d.png
11 %> <b>Annotate observation names</b> - see vis_scatter2d::flag_text
16 function varargout = uip_vis_scatter2d(varargin)
17 % Begin initialization code - DO NOT EDIT
19 gui_State =
struct(
'gui_Name', mfilename, ...
20 'gui_Singleton', gui_Singleton, ...
21 'gui_OpeningFcn', @uip_vis_scatter2d_OpeningFcn, ...
22 'gui_OutputFcn', @uip_vis_scatter2d_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_scatter2d is made visible.
38 function uip_vis_scatter2d_OpeningFcn(hObject, eventdata, handles, varargin)
39 handles.output.flag_ok = 0;
40 guidata(hObject, handles);
45 % --- Outputs from this function are returned to the command clae.
46 function varargout = uip_vis_scatter2d_OutputFcn(hObject, eventdata, handles)
48 uiwait(handles.figure1);
49 handles = guidata(hObject);
50 varargout{1} = handles.output;
55 varargout{1} = output;
60 function editReg_Callback(hObject, eventdata, handles)
62 % --- Executes during
object creation, after setting all properties.
63 function editReg_CreateFcn(hObject, eventdata, handles)
64 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
65 set(hObject,'BackgroundColor','white');
70 % --- Executes on button press in pushbuttonOK.
71 function pushbuttonOK_Callback(hObject, eventdata, handles)
72 % hObject handle to pushbuttonOK (see GCBO)
73 % eventdata reserved - to be defined in a future version of MATLAB
74 % handles structure with handles and user data (see GUIDATA)
76 handles.output.params = {...
77 'idx_fea',
get(handles.edit_idx_fea,
'String'), ...
78 'confidences', mat2str(eval(
get(handles.edit_confidences,
'String'))), ...
79 'textmode', int2str(
get(handles.popupmenu_textmode,
'Value')-1) ...
81 handles.output.flag_ok = 1;
82 guidata(hObject, handles);
90 function edit_idx_fea_Callback(hObject, eventdata, handles)
92 function edit_idx_fea_CreateFcn(hObject, eventdata, handles)
93 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
94 set(hObject,'BackgroundColor','white');
98 function edit_confidences_Callback(hObject, eventdata, handles)
99 function edit_confidences_CreateFcn(hObject, eventdata, handles)
101 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
102 set(hObject,'BackgroundColor','white');
105 function checkbox_flag_text_Callback(hObject, eventdata, handles)
107 function popupmenu_textmode_Callback(hObject, eventdata, handles)
109 function popupmenu_textmode_CreateFcn(hObject, eventdata, handles)
110 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
111 set(hObject,'BackgroundColor','white');
function gui_set_position(in hObject)
function irerrordlg(in errorstring, in dlgname)