⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 guide1.m

📁 实现matlab很多功能的源代码
💻 M
字号:
function fig = guide1()
% This is the machine-generated representation of a Handle Graphics object
% and its children.  Note that handle values may change when these objects
% are re-created. This may cause problems with any callbacks written to
% depend on the value of the handle at the time the object was saved.
% This problem is solved by saving the output as a FIG-file.
%
% To reopen this object, just type the name of the M-file at the MATLAB
% prompt. The M-file and its associated MAT-file must be on your path.
% 
% NOTE: certain newer features in MATLAB may not have been saved in this
% M-file due to limitations of this format, which has been superseded by
% FIG-files.  Figures which have been annotated using the plot editor tools
% are incompatible with the M-file/MAT-file format, and should be saved as
% FIG-files.

load guide1

h0 = figure('Color',[0.8 0.8 0.8], ...
	'Colormap',mat0, ...
	'FileName','D:\users\jang\mlbook\doc\guide1.m', ...
	'PaperPosition',[18 180 576 432], ...
	'PaperUnits','points', ...
	'Position',[402 245 560 420], ...
	'Renderer','zbuffer', ...
	'Tag','Fig1', ...
	'ToolBar','figure');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'ListboxTop',0, ...
	'Position',[318.75 4.5 94.5 302.25], ...
	'Style','frame', ...
	'Tag','Frame1');
h1 = axes('Parent',h0, ...
	'Units','pixels', ...
	'View',[322.5 30], ...
	'CameraUpVector',[0 0 1], ...
	'Color',[1 1 1], ...
	'ColorOrder',mat1, ...
	'Position',[30 62 375 310], ...
	'Tag','Axes1', ...
	'XColor',[0 0 0], ...
	'XGrid','on', ...
	'XLim',[-3 3], ...
	'XLimMode','manual', ...
	'YColor',[0 0 0], ...
	'YGrid','on', ...
	'YLim',[-3 3], ...
	'YLimMode','manual', ...
	'ZColor',[0 0 0], ...
	'ZGrid','on', ...
	'ZLim',[-6.546644524320429 8.075173545159231], ...
	'ZLimMode','manual');
h2 = surface('Parent',h1, ...
	'CData',mat2, ...
	'Tag','Surface1', ...
	'VertexNormals',mat3, ...
	'XData',mat4, ...
	'YData',mat5, ...
	'ZData',mat6);
h2 = text('Parent',h1, ...
	'Color',[0 0 0], ...
	'HandleVisibility','off', ...
	'Position',[-27.66008111000183 -38.67077943405884 53.45030225875726], ...
	'String','x', ...
	'Tag','Text4', ...
	'VerticalAlignment','top');
set(get(h2,'Parent'),'XLabel',h2);
h2 = text('Parent',h1, ...
	'Color',[0 0 0], ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','right', ...
	'Position',[-30.84381544724371 -36.13192752224212 53.77139868595003], ...
	'String','y', ...
	'Tag','Text3', ...
	'VerticalAlignment','top');
set(get(h2,'Parent'),'YLabel',h2);
h2 = text('Parent',h1, ...
	'Color',[0 0 0], ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Position',[-25.91630695382446 -33.73783865289379 74.45000859716453], ...
	'String','Peaks', ...
	'Tag','Text2', ...
	'VerticalAlignment','bottom');
set(get(h2,'Parent'),'Title',h2);
h2 = text('Parent',h1, ...
	'Color',[0 0 0], ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Position',[-31.11663936864385 -32.68161419279015 64.62445792506573], ...
	'Rotation',90, ...
	'Tag','Text1', ...
	'VerticalAlignment','baseline');
set(get(h2,'Parent'),'ZLabel',h2);
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.219607843137255 0.407843137254902 0.784313725490196], ...
	'Callback',mat7, ...
	'ListboxTop',0, ...
	'Max',100, ...
	'Min',5, ...
	'Position',[327.75 236.25 75.75 29.25], ...
	'Style','slider', ...
	'Tag','Slider1', ...
	'Value',24.94999999999999);
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'ListboxTop',0, ...
	'Position',[327.75 189 81.75 28.5], ...
	'String',' ', ...
	'Style','popupmenu', ...
	'Tag','PopupMenu1', ...
	'Value',1);
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.219607843137255 0.407843137254902 0.784313725490196], ...
	'Callback',mat8, ...
	'ListboxTop',0, ...
	'Position',[330.75 163.5 70.5 21], ...
	'String','Rotate', ...
	'Tag','Pushbutton1');
if nargout > 0, fig = h0; end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -