function varargout = taskgui(varargin)
% TASKGUI MATLAB code for taskgui.fig
% TASKGUI, by itlf, creates a new TASKGUI or rais the existing
% singleton*.
%
% H = TASKGUI returns the handle to a new TASKGUI or the handle to
% the existing singleton*.
%
% TASKGUI('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in TASKGUI.M with the given input arguments.
%
% TASKGUI('Property','Value',...) creates a new TASKGUI or rais the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before taskgui_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are pasd to taskgui_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE's Tools menu. Choo "GUI allows only one
% instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES
氤氲是什么意思
% Edit the above text to modify the respon to help taskgui
% Last Modified by GUIDE v2.5 20-Dec-2012 15:53:01
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @taskgui_OpeningFcn, ...
'gui_OutputFcn', @taskgui_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{:});
el
gui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT
% --- Executes just before taskgui is made visible.
function taskgui_OpeningFcn(hObject, eventdata, handles, varargin)
% This function has no output args, e OutputFcn.
% hObject handle to figure
% eventdata rerved - to be defined in a future version of MATLAB
% handles structure with handles and ur data (e GUIDATA)
% varargin command line arguments to taskgui (e VARARGIN)
cla ret;
load topo;
hold on;
axis([-8 8 -8 8 -8 8]);
[x y z] = sphere(45);
p1 = surface(x,y,z,'facecolor','texturemap','cdata',topo);
t(p1,'edgecolor','none','facealpha','texture','alphadata',topo);
t(p1,'backfacelighting','unlit');
colormap(topomap1);
alpha('direct');
行政年度工作计划alphamap([.1;1])
% campos([2 13 10]);
% camlight;
% lighting gouraud;
s1=0:.01:2*pi;
怎么写好作文axis([-8 8 -8 8 -8 8]);
axis off;艾篙
r1=4;%月亮到地球的平均距离
r2=1.2;%嫦娥一号到月亮的平均距离
sita1=0;sita2=0;%设置开始它们都在水平线上
t(gcf,'doublebuffer','on') %消除抖动
plot3(r1*cos(s1),r1*sin(s1),0*s1,'r');%画月亮公转轨道
plot3(r1*cos(sita1),r1*sin(sita1),0*s1,'color','b','marker','.','markersize',30);%画月亮初始位置
plot3(r1*cos(sita1)+r2*cos(s1),r1*sin(sita1)+r2*sin(s1),0*s1);%画嫦娥一号绕月亮公转轨道
p2x=r1*cos(sita1)+r2*cos(sita2);p2y=r1*sin(sita1)+r2*sin(sita2);
plot3(p2x,p2y,0*s1,'k','marker','.','markersize',20);%画嫦娥一号的初始位置
% Choo default command line output for taskgui
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes taskgui wait for ur respon (e UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = taskgui_OutputFcn(hObject, eventdata, handles)
% varargout cell array for returning output args (e VARARGOUT);
一岗多能% hObject handle to figure
% eventdata rerved - to be defined in a future version of MATLAB
% handles structure with handles and ur data (e GUIDATA)
% Get default command line output from handles structure
varargout{1} = handles.output;
% --- Executes on button press in zoom_out.
function zoom_out_Callback(hObject, eventdata, handles)
源开头的成语% hObject handle to zoom_out (e GCBO)
% eventdata rerved - to be defined in a future version of MATLAB
% handles structure with handles and ur data (e GUIDATA)
handles.magnify=1;
handles.magnify=handles.magnify-0.1;
camzoom(handles.magnify)
guidata(hObject, handles);
% --- Executes on button press in zoom_in.
国际象棋怎么走
function zoom_in_Callback(hObject, eventdata, handles)
% hObject handle to zoom_in (e GCBO)
把酒倒满
% eventdata rerved - to be defined in a future version of MATLAB