ВУЗ:
Составители:
7 Ïîñòðîåíèå íåñêîëüêèõ ãðàôèêîâ 77 FcnBegin=str2num(get(handles.edt_begin,'String')); if isempty(FcnBegin) FcnBegin=0; end; FcnEnd=str2num(get(handles.edt_end,'String')); if isempty(FcnEnd) FcnEnd=1; end; FcnStep=str2num(get(handles.edt_step,'String')); if isempty(FcnStep) FcnStep=32; end; [x,y]=fplot(FcnName,[FcnBegin FcnEnd],FcnStep); axes(get(get(handles.pnl_axes,'SelectedObject'),'UserData')); if isfield(handles,'myplot') handles.myplot{length(handles.myplot)+1}=... plot(x,y,'LineWidth',2,'Color',My_Color); handles.myfun{length(handles.myfun)+1}=FcnName; else handles.myplot{1}=plot(x,y,'LineWidth',2,'Color',My_Color); handles.myfun{1}=FcnName; end; set(handles.btn_clear,'Visible','on'); guidata(hObject, handles); function btn_clear_Callback(hObject, eventdata, handles) % hObject handle to btn_clear (see GCBO) % eventdata reserved - to be defined in a future % version of MATLAB % handles structure with handles and user data (see GUIDATA) set(handles.edt_end,'String',);
Страницы
- « первая
- ‹ предыдущая
- …
- 75
- 76
- 77
- 78
- 79
- …
- следующая ›
- последняя »