ВУЗ:
Составители:
102 Èíòåðôåéñ â ñðåäå MATLAB % End initialization code - DO NOT EDIT % - Executes just before graphic is made visible. function graphic_OpeningFcn(hObject, eventdata, handles, varargin) % This function has no output args, see OutputFcn. % hObject handle to figure % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % varargin command line arguments to graphic (see VARARGIN) % Choose default command line output for graphic handles.output = hObject; % Îïðåäåëÿåì ãëîáàëüíóþ ïåðåìåííóþ îòâå÷àþùóþ çà öâåò ëèíèé global My_Color Pos My_Color=[0 0 0]; % Update handles structure % Ñîõðàíÿåì â ñâîéñòâî 'UserData' ïðàâîãî è ëåâîãî ïåðåêëþ÷àòåëÿ % (rb_left è rb_right) óêàçàòåëü íà ïðàâóþ è ëåâóþ îñè. set(handles.rb_left,'UserData',handles.axes_plot) set(handles.rb_right,'UserData',handles.ax_right) % Äîáàâëÿåì â ñòðóêòóðó handles íîâîå ïîëå, îòâå÷àþùóþ çà øèðèíó ëèíèè handles.ValWidth=2; % Update handles structure % Ñîõðàíÿåì ñòðóêòóðó handles guidata(hObject, handles); % UIWAIT makes graphic wait for user response (see UIRESUME) % uiwait(handles.figure_graphic); % - Outputs from this function are returned to the command line. function varargout = graphic_OutputFcn(hObject, eventdata, handles) % varargout cell array for returning output args (see VARARGOUT); % hObject handle to figure
Страницы
- « первая
- ‹ предыдущая
- …
- 100
- 101
- 102
- 103
- 104
- …
- следующая ›
- последняя »