function varargout = quxian(varargin)
% QUXIAN M-file for quxian.fig
% QUXIAN, by itself, creates a new QUXIAN or raises the existing
% singleton*.
%
% H = QUXIAN returns the handle to a new QUXIAN or the handle to
% the existing singleton*.
%
% QUXIAN('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in QUXIAN.M with the given input arguments.
%
% QUXIAN('Property','Value',...) creates a new QUXIAN or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before quxian_OpeningFunction gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to quxian_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
% instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES
% Copyright 2002-2003 The MathWorks, Inc.
% Edit the above text to modify the response to help quxian
% Last Modified by GUIDE v2.5 25-Jun-2013 10:58:18
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @quxian_OpeningFcn, ...
'gui_OutputFcn', @quxian_OutputFcn, ...
'gui_LayoutFcn', [] , ...
'gui_Callback', []);
if nargin && ischar(varargin{1})
gui_State.gui_Callback = str2func(varargin{1});
end
if 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 quxian is made visible.
function quxian_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 quxian (see VARARGIN)
% Choose default command line output for quxian
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes quxian wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = quxian_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 structure
varargout{1} = handles.output;
% --- Executes on button press in jiahao.
function jiahao_Callback(hObject, eventdata, handles)
% hObject handle to jiahao (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
cla
H=findobj(0,'type','axes','tag','axes1');
axes(H);
x=0:0.1:2*pi;
k=line(x,sin(x));
set(k,'marker','+');
% --- Executes on button press in yuanquan.
function yuanquan_Callback(hObject, eventdata, handles)
% hObject handle to yuanquan (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
cla
H=findobj(0,'type','axes','tag','axes1');
axes(H);
x=0:0.1:2*pi;
k=line(x,sin(x));
set(k,'marker','o');
% --- Executes on button press in xinghao.
function xinghao_Callback(hObject, eventdata, handles)
% hObject handle to xinghao (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
cla
H=findobj(0,'type','axes','tag','axes1');
axes(H);
x=0:0.1:2*pi;
k=line(x,sin(x));
set(k,'marker','*');
% --- Executes on button press in red.
function red_Callback(hObject, eventdata, handles)
% hObject handle to red (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
cla
H=findobj(0,'type','axes','tag','axes1');
axes(H);
x=0:0.1:2*pi;
k=line(x,sin(x));
set(k,'color','red');
% --- Executes on button press in green.
function green_Callback(hObject, eventdata, handles)
% hObject handle to green (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
cla
H=findobj(0,'type','axes','tag','axes1');
axes(H);
x=0:0.1:2*pi;
k=line(x,sin(x));
set(k,'color','g');
% --- Executes on button press in blue.
function blue_Callback(hObject, eventdata, handles)
% hObject handle to blue (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
cla
H=findobj(0,'type','axes','tag','axes1');
axes(H);
x=0:0.1:2*pi;
k=line(x,sin(x));
set(k,'color','b');
% --- Executes on button press in shixian.
function shixian_Callback(hObject, eventdata, handles)
% hObject handle to shixian (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
cla
H=findobj(0,'type','axes','tag','axes1');
axes(H);
x=0:0.1:2*pi;
k=line(x,sin(x));
set(k,'LineStyle','-');
% --- Executes on button press in xuxian.
function xuxian_Callback(hObject, eventdata, handles)
% hObject handle to xuxian (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
cla
H=findobj(0,'type','axes','tag','axes1');
axes(H);
x=0:0.1:2*pi;
k=line(x,sin(x));
set(k,'LineStyle','--');
% --- Executes on button press in wuxian.
function wuxian_Callback(hObject, eventdata, handles)
% hObject handle to wuxian (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
cla
H=findobj(0,'type','axes','tag','axes1');
axes(H);
x=0:0.1:2*pi;
k=line(x,sin(x));
set(k,'LineStyle','none');
- 1
- 2
前往页