5 %>@image html Screenshot-uip_vis_scatter1d.png
14 function varargout = uip_vis_scatter1d(varargin)
15 % Begin initialization code - DO NOT EDIT
17 gui_State =
struct(
'gui_Name', mfilename, ...
18 'gui_Singleton', gui_Singleton, ...
19 'gui_OpeningFcn', @uip_vis_scatter1d_OpeningFcn, ...
20 'gui_OutputFcn', @uip_vis_scatter1d_OutputFcn, ...
21 'gui_LayoutFcn', [] , ...
23 if nargin && ischar(varargin{1})
24 gui_State.gui_Callback = str2func(varargin{1});
28 [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
30 gui_mainfcn(gui_State, varargin{:});
32 % End initialization code - DO NOT EDIT
35 % --- Executes just before uip_vis_scatter1d is made visible.
36 function uip_vis_scatter1d_OpeningFcn(hObject, eventdata, handles, varargin)
37 handles.output.flag_ok = 0;
38 guidata(hObject, handles);
43 % --- Outputs from this function are returned to the command clae.
44 function varargout = uip_vis_scatter1d_OutputFcn(hObject, eventdata, handles)
46 uiwait(handles.figure1);
47 handles = guidata(hObject);
48 varargout{1} = handles.output;
53 varargout{1} = output;
58 function editReg_Callback(hObject, eventdata, handles)
60 % --- Executes during
object creation, after setting all properties.
61 function editReg_CreateFcn(hObject, eventdata, handles)
62 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
63 set(hObject,'BackgroundColor','white');
68 % --- Executes on button press in pushbuttonOK.
69 function pushbuttonOK_Callback(hObject, eventdata, handles)
70 % hObject handle to pushbuttonOK (see GCBO)
71 % eventdata reserved - to be defined in a future version of MATLAB
72 % handles structure with handles and user data (see GUIDATA)
74 handles.output.params = {...
75 'type_distr', int2str(
get(handles.popupmenuDist,
'Value')-1), ...
76 'idx_fea',
get(handles.editFeaIdx,
'String') ...
78 handles.output.flag_ok = 1;
79 guidata(hObject, handles);
86 % --- Executes on selection change in popupmenuDist.
87 function popupmenuDist_Callback(hObject, eventdata, handles)
88 % hObject handle to popupmenuDist (see GCBO)
89 % eventdata reserved - to be defined in a future version of MATLAB
90 % handles structure with handles and user data (see GUIDATA)
92 % Hints: contents =
get(hObject,
'String') returns popupmenuDist contents
as cell array
93 % contents{
get(hObject,
'Value')} returns selected item from popupmenuDist
96 % --- Executes during
object creation, after setting all properties.
97 function popupmenuDist_CreateFcn(hObject, eventdata, handles)
98 % hObject handle to popupmenuDist (see GCBO)
99 % eventdata reserved - to be defined in a future version of MATLAB
100 % handles empty - handles not created until after all CreateFcns called
102 % Hint: popupmenu controls usually have a white background on Windows.
103 % See ISPC and COMPUTER.
104 if ispc && isequal(
get(hObject,
'BackgroundColor'),
get(0,
'defaultUicontrolBackgroundColor'))
105 set(hObject,'BackgroundColor','white');
110 function edit13_Callback(hObject, eventdata, handles)
111 % hObject handle to edit13 (see GCBO)
112 % eventdata reserved - to be defined in a future version of MATLAB
113 % handles structure with handles and user data (see GUIDATA)
115 % Hints: get(hObject,'String') returns contents of edit13
as text
116 % str2double(get(hObject,'String')) returns contents of edit13
as a
double
119 % --- Executes during
object creation, after setting all properties.
120 function edit13_CreateFcn(hObject, eventdata, handles)
121 % hObject handle to edit13 (see GCBO)
122 % eventdata reserved - to be defined in a future version of MATLAB
123 % handles empty - handles not created until after all CreateFcns called
125 % Hint: edit controls usually have a white background on Windows.
126 % See ISPC and COMPUTER.
127 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
128 set(hObject,'BackgroundColor','white');
133 function editFeaIdx_Callback(hObject, eventdata, handles)
134 % hObject handle to editFeaIdx (see GCBO)
135 % eventdata reserved - to be defined in a future version of MATLAB
136 % handles structure with handles and user data (see GUIDATA)
138 % Hints: get(hObject,'String') returns contents of editFeaIdx
as text
139 % str2double(get(hObject,'String')) returns contents of editFeaIdx
as a
double
142 % --- Executes during
object creation, after setting all properties.
143 function editFeaIdx_CreateFcn(hObject, eventdata, handles)
144 % hObject handle to editFeaIdx (see GCBO)
145 % eventdata reserved - to be defined in a future version of MATLAB
146 % handles empty - handles not created until after all CreateFcns called
148 % Hint: edit controls usually have a white background on Windows.
149 % See ISPC and COMPUTER.
150 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
151 set(hObject,'BackgroundColor','white');
155 % --- Executes on selection change in popupmenu15.
156 function popupmenu15_Callback(hObject, eventdata, handles)
157 % hObject handle to popupmenu15 (see GCBO)
158 % eventdata reserved - to be defined in a future version of MATLAB
159 % handles structure with handles and user data (see GUIDATA)
161 % Hints: contents = cellstr(get(hObject,'String')) returns popupmenu15 contents
as cell array
162 % contents{
get(hObject,
'Value')} returns selected item from popupmenu15
165 % --- Executes during
object creation, after setting all properties.
166 function popupmenu15_CreateFcn(hObject, eventdata, handles)
167 % hObject handle to popupmenu15 (see GCBO)
168 % eventdata reserved - to be defined in a future version of MATLAB
169 % handles empty - handles not created until after all CreateFcns called
171 % Hint: popupmenu controls usually have a white background on Windows.
172 % See ISPC and COMPUTER.
173 if ispc && isequal(
get(hObject,
'BackgroundColor'),
get(0,
'defaultUicontrolBackgroundColor'))
174 set(hObject,'BackgroundColor','white');
179 function edit15_Callback(hObject, eventdata, handles)
180 % hObject handle to edit15 (see GCBO)
181 % eventdata reserved - to be defined in a future version of MATLAB
182 % handles structure with handles and user data (see GUIDATA)
184 % Hints: get(hObject,'String') returns contents of edit15
as text
185 % str2double(get(hObject,'String')) returns contents of edit15
as a
double
188 % --- Executes during
object creation, after setting all properties.
189 function edit15_CreateFcn(hObject, eventdata, handles)
190 % hObject handle to edit15 (see GCBO)
191 % eventdata reserved - to be defined in a future version of MATLAB
192 % handles empty - handles not created until after all CreateFcns called
194 % Hint: edit controls usually have a white background on Windows.
195 % See ISPC and COMPUTER.
196 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
197 set(hObject,'BackgroundColor','white');
202 function edit11_Callback(hObject, eventdata, handles)
203 % hObject handle to edit11 (see GCBO)
204 % eventdata reserved - to be defined in a future version of MATLAB
205 % handles structure with handles and user data (see GUIDATA)
207 % Hints: get(hObject,'String') returns contents of edit11
as text
208 % str2double(get(hObject,'String')) returns contents of edit11
as a
double
211 % --- Executes during
object creation, after setting all properties.
212 function edit11_CreateFcn(hObject, eventdata, handles)
213 % hObject handle to edit11 (see GCBO)
214 % eventdata reserved - to be defined in a future version of MATLAB
215 % handles empty - handles not created until after all CreateFcns called
217 % Hint: edit controls usually have a white background on Windows.
218 % See ISPC and COMPUTER.
219 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
220 set(hObject,'BackgroundColor','white');
225 function edit12_Callback(hObject, eventdata, handles)
226 % hObject handle to edit12 (see GCBO)
227 % eventdata reserved - to be defined in a future version of MATLAB
228 % handles structure with handles and user data (see GUIDATA)
230 % Hints: get(hObject,'String') returns contents of edit12
as text
231 % str2double(get(hObject,'String')) returns contents of edit12
as a
double
234 % --- Executes during
object creation, after setting all properties.
235 function edit12_CreateFcn(hObject, eventdata, handles)
236 % hObject handle to edit12 (see GCBO)
237 % eventdata reserved - to be defined in a future version of MATLAB
238 % handles empty - handles not created until after all CreateFcns called
240 % Hint: edit controls usually have a white background on Windows.
241 % See ISPC and COMPUTER.
242 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
243 set(hObject,'BackgroundColor','white');
247 % --- Executes on button press in checkbox7.
248 function checkbox7_Callback(hObject, eventdata, handles)
249 % hObject handle to checkbox7 (see GCBO)
250 % eventdata reserved - to be defined in a future version of MATLAB
251 % handles structure with handles and user data (see GUIDATA)
253 % Hint: get(hObject,'Value') returns toggle state of checkbox7
256 % --- Executes on selection change in popupmenu14.
257 function popupmenu14_Callback(hObject, eventdata, handles)
258 % hObject handle to popupmenu14 (see GCBO)
259 % eventdata reserved - to be defined in a future version of MATLAB
260 % handles structure with handles and user data (see GUIDATA)
262 % Hints: contents = cellstr(get(hObject,'String')) returns popupmenu14 contents
as cell array
263 % contents{
get(hObject,
'Value')} returns selected item from popupmenu14
266 % --- Executes during
object creation, after setting all properties.
267 function popupmenu14_CreateFcn(hObject, eventdata, handles)
268 % hObject handle to popupmenu14 (see GCBO)
269 % eventdata reserved - to be defined in a future version of MATLAB
270 % handles empty - handles not created until after all CreateFcns called
272 % Hint: popupmenu controls usually have a white background on Windows.
273 % See ISPC and COMPUTER.
274 if ispc && isequal(
get(hObject,
'BackgroundColor'),
get(0,
'defaultUicontrolBackgroundColor'))
275 set(hObject,'BackgroundColor','white');
280 function edit16_Callback(hObject, eventdata, handles)
281 % hObject handle to edit16 (see GCBO)
282 % eventdata reserved - to be defined in a future version of MATLAB
283 % handles structure with handles and user data (see GUIDATA)
285 % Hints: get(hObject,'String') returns contents of edit16
as text
286 % str2double(get(hObject,'String')) returns contents of edit16
as a
double
289 % --- Executes during
object creation, after setting all properties.
290 function edit16_CreateFcn(hObject, eventdata, handles)
291 % hObject handle to edit16 (see GCBO)
292 % eventdata reserved - to be defined in a future version of MATLAB
293 % handles empty - handles not created until after all CreateFcns called
295 % Hint: edit controls usually have a white background on Windows.
296 % See ISPC and COMPUTER.
297 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
298 set(hObject,'BackgroundColor','white');
function gui_set_position(in hObject)
Analysis Session (AS) base class.
function irerrordlg(in errorstring, in dlgname)