ВУЗ:
Составители:
110 Èíòåðôåéñ â ñðåäå MATLAB saveas(handles.figure_graphic, FullName, Filter{FilterIndex}(3:end)); set(handles.figure_graphic,'Position',NewPos); end; % function Menu_Exit_Callback(hObject, eventdata, handles) % hObject handle to Menu_Exit (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) button = questdlg('Are you sure?', 'Program', 'No'); if strcmp(button,'Yes') delete(handles.figure_graphic); end; % function Menu_Color_Callback(hObject, eventdata, handles) % hObject handle to Menu_Color (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) global My_Color; ListString={'NewGraphic'}; if isfield(handles,'myfun') ListString=[ListString,handles.myfun]; end [Selection,ok] = listdlg('ListString', ListString); if length(Selection)==1 if Selection==1 My_Color=uisetcolor; else uisetcolor(handles.myplot{Selection-1}); end;