📄 plspvsmgui.m
字号:
function varargout = plspvsmGUI(varargin)%PLSPVSMGUI M-file for plspvsmGUI.fig% PLSPVSMGUI, by itself, creates a new PLSPVSMGUI or raises the existing% singleton*.%% H = PLSPVSMGUI returns the handle to a new PLSPVSMGUI or the handle to% the existing singleton*.%% PLSPVSMGUI('Property','Value',...) creates a new PLSPVSMGUI using the% given property value pairs. Unrecognized properties are passed via% varargin to plspvsmGUI_OpeningFcn. This calling syntax produces a% warning when there is an existing singleton*.%% PLSPVSMGUI('CALLBACK') and PLSPVSMGUI('CALLBACK',hObject,...) call the% local function named CALLBACK in PLSPVSMGUI.M with the given input% arguments.%% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one% instance to run (singleton)".%% See also: GUIDE, GUIDATA, GUIHANDLES% Edit the above text to modify the response to help plspvsmGUI% Last Modified by GUIDE v2.5 28-Mar-2006 16:19:45% Begin initialization code - DO NOT EDITgui_Singleton = 1;gui_State = struct('gui_Name', mfilename, ... 'gui_Singleton', gui_Singleton, ... 'gui_OpeningFcn', @plspvsmGUI_OpeningFcn, ... 'gui_OutputFcn', @plspvsmGUI_OutputFcn, ... 'gui_LayoutFcn', [], ... 'gui_Callback', []);if nargin && ischar(varargin{1}) gui_State.gui_Callback = str2func(varargin{1});endif nargout [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});else gui_mainfcn(gui_State, varargin{:});end% End initialization code - DO NOT EDIT% --- Executes just before plspvsmGUI is made visible.function plspvsmGUI_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 unrecognized PropertyName/PropertyValue pairs from the% command line (see VARARGIN)% Choose default command line output for plspvsmGUIhandles.output = hObject;% Update handles structureguidata(hObject, handles);% UIWAIT makes plspvsmGUI wait for user response (see UIRESUME)% uiwait(handles.figure1);% --- Outputs from this function are returned to the command line.function varargout = plspvsmGUI_OutputFcn(hObject, eventdata, handles)% varargout cell array for returning output args (see VARARGOUT);% hObject handle to figure% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% Get default command line output from handles structurevarargout{1} = handles.output;% --- Executes on selection change in KindOfPlot.function KindOfPlot_Callback(hObject, eventdata, handles)% hObject handle to KindOfPlot (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% Hints: contents = get(hObject,'String') returns KindOfPlot contents as cell array% contents{get(hObject,'Value')} returns selected item from KindOfPlot% --- Executes during object creation, after setting all properties.function KindOfPlot_CreateFcn(hObject, eventdata, handles)% hObject handle to KindOfPlot (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles empty - handles not created until after all CreateFcns called% Hint: popupmenu controls usually have a white background on Windows.% See ISPC and COMPUTER.if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor')) set(hObject,'BackgroundColor','white');end% --- Executes on button press in UpdateWorkspace.function UpdateWorkspace_Callback(hObject, eventdata, handles)% hObject handle to UpdateWorkspace (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% --- Executes on button press in noNumOfPLS.function noNumOfPLS_Callback(hObject, eventdata, handles)% hObject handle to noNumOfPLS (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% Hint: get(hObject,'Value') returns toggle state of noNumOfPLSfunction NumberOfPLS_Callback(hObject, eventdata, handles)% hObject handle to NumberOfPLS (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of NumberOfPLS as text% str2double(get(hObject,'String')) returns contents of NumberOfPLS as a double% --- Executes during object creation, after setting all properties.function NumberOfPLS_CreateFcn(hObject, eventdata, handles)% hObject handle to NumberOfPLS (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.% See ISPC and COMPUTER.if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor')) set(hObject,'BackgroundColor','white');end% --- Executes on button press in ipcascoplotDoPlot.function ipcascoplotDoPlot_Callback(hObject, eventdata, handles)% hObject handle to ipcascoplotDoPlot (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% --- Executes on button press in pushbutton4.function pushbutton4_Callback(hObject, eventdata, handles)% hObject handle to pushbutton4 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% --- Executes on button press in pushbutton5.function pushbutton5_Callback(hObject, eventdata, handles)% hObject handle to pushbutton5 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)function cancellami_Callback(hObject, eventdata, handles)% hObject handle to cancellami (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of cancellami as text% str2double(get(hObject,'String')) returns contents of cancellami as a double% --- Executes during object creation, after setting all properties.function cancellami_CreateFcn(hObject, eventdata, handles)% hObject handle to cancellami (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.% See ISPC and COMPUTER.if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor')) set(hObject,'BackgroundColor','white');end% --- Executes on button press in MaxYaxisCheck.function MaxYaxisCheck_Callback(hObject, eventdata, handles)% hObject handle to MaxYaxisCheck (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% Hint: get(hObject,'Value') returns toggle state of MaxYaxisCheck
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -