4 %> @image html Screenshot-uip_vis_scatter3dgif.png
17 function varargout = uip_vis_scatter3dgif(varargin)
19 % Begin initialization code - DO NOT EDIT
21 gui_State =
struct(
'gui_Name', mfilename, ...
22 'gui_Singleton', gui_Singleton, ...
23 'gui_OpeningFcn', @uip_vis_scatter3dgif_OpeningFcn, ...
24 'gui_OutputFcn', @uip_vis_scatter3dgif_OutputFcn, ...
25 'gui_LayoutFcn', [] , ...
27 if nargin && ischar(varargin{1})
28 gui_State.gui_Callback = str2func(varargin{1});
32 [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
34 gui_mainfcn(gui_State, varargin{:});
36 % End initialization code - DO NOT EDIT
39 % --- Executes just before uip_vis_scatter3dgif is made visible.
40 function uip_vis_scatter3dgif_OpeningFcn(hObject, eventdata, handles, varargin)
41 handles.output.flag_ok = 0;
42 guidata(hObject, handles);
46 % --- Outputs from this function are returned to the command clae.
47 function varargout = uip_vis_scatter3dgif_OutputFcn(hObject, eventdata, handles)
49 uiwait(handles.figure1);
50 handles = guidata(hObject);
51 varargout{1} = handles.output;
56 varargout{1} = output;
59 % --- Executes on button press in pushbuttonOK.
60 function pushbuttonOK_Callback(hObject, eventdata, handles)
62 handles.output.params = {...
63 'idx_fea',
get(handles.edit_idx_fea,
'String'), ...
64 'confidences', mat2str(eval(
get(handles.edit_confidences,
'String'))), ...
65 'flag_text', int2str(
get(handles.checkbox_flag_text,
'Value')) ...
66 'rots',
get(handles.edit_rots,
'String'), ...
68 handles.output.flag_ok = 1;
69 guidata(hObject, handles);
76 function edit_idx_fea_Callback(hObject, eventdata, handles)
78 % --- Executes during
object creation, after setting all properties.
79 function edit_idx_fea_CreateFcn(hObject, eventdata, handles)
80 % See ISPC and COMPUTER.
81 if ispc && isequal(
get(hObject,
'BackgroundColor'),
get(0,
'defaultUicontrolBackgroundColor'))
82 set(hObject,'BackgroundColor','white');
85 function edit_confidences_Callback(hObject, eventdata, handles)
87 % --- Executes during
object creation, after setting all properties.
88 function edit_confidences_CreateFcn(hObject, eventdata, handles)
89 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
90 set(hObject,'BackgroundColor','white');
93 % --- Executes on button press in checkbox_flag_text.
94 function checkbox_flag_text_Callback(hObject, eventdata, handles)
96 function edit_rots_Callback(hObject, eventdata, handles)
98 % --- Executes during
object creation, after setting all properties.
99 function edit_rots_CreateFcn(hObject, eventdata, handles)
100 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
101 set(hObject,'BackgroundColor','white');
GIF animation showing rotation of a 3D scatterplot.
Property rots
=-30:8:330 . Rotation angles in degrees
function gui_set_position(in hObject)
function irerrordlg(in errorstring, in dlgname)
Property idx_fea
=[1, 2, 3] Index of features to be uses as coordinates. Must be a 3-element vector.