?? guidemo.m
字號:
function fig = guidemo()
% 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 guidemo
h0 = figure('Color',[0.8 0.8 0.8], ...
'Colormap',mat0, ...
'FileName','D:\matlabcai\guidemo.m', ...
'PaperPosition',[18 180 576 432], ...
'PaperUnits','points', ...
'Position',[469 237 338 280], ...
'Renderer','zbuffer', ...
'Tag','Fig1', ...
'ToolBar','none');
h1 = uimenu('Parent',h0, ...
'Label','axis', ...
'Tag','&axisuimenu1');
h2 = uimenu('Parent',h1, ...
'Callback','set(gca,''Box'',''on'')'' ', ...
'Label','Box on', ...
'Tag','Subuimenu1');
h2 = uimenu('Parent',h1, ...
'Callback','set(gca,''Box'',''off'')', ...
'Label','Box off', ...
'Tag','axisBox off');
h1 = axes('Parent',h0, ...
'View',[-37.5 30], ...
'CameraUpVector',[0 0 1], ...
'Color',[1 1 1], ...
'ColorOrder',mat1, ...
'Position',[0.1301775147928994 0.1107142857142857 0.7751479289940828 0.8142857142857143], ...
'Tag','Axes1', ...
'XColor',[0 0 0], ...
'XGrid','on', ...
'YColor',[0 0 0], ...
'YGrid','on', ...
'ZColor',[0 0 0], ...
'ZGrid','on');
h2 = surface('Parent',h1, ...
'CData',mat2, ...
'EdgeColor','none', ...
'FaceColor','interp', ...
'Tag','Axes1Surface1', ...
'VertexNormals',mat3, ...
'XData',mat4, ...
'YData',mat5, ...
'ZData',mat6);
h2 = text('Parent',h1, ...
'Color',[0 0 0], ...
'HandleVisibility','off', ...
'HorizontalAlignment','center', ...
'Position',[-228.8782724349788 -307.1119945659601 101.0108740618285], ...
'String','hot色圖函數效果', ...
'Tag','Axes1Text4', ...
'VerticalAlignment','bottom');
set(get(h2,'Parent'),'Title',h2);
h2 = text('Parent',h1, ...
'Color',[0 0 0], ...
'HandleVisibility','off', ...
'Position',[-246.6029180022339 -356.6850572540681 72.07463546117215], ...
'String','深度', ...
'Tag','Axes1Text3', ...
'VerticalAlignment','top');
set(get(h2,'Parent'),'XLabel',h2);
h2 = text('Parent',h1, ...
'Color',[0 0 0], ...
'HandleVisibility','off', ...
'HorizontalAlignment','right', ...
'Position',[-278.700848987954 -331.2723039853452 72.43334916283318], ...
'Tag','Axes1Text2', ...
'VerticalAlignment','top');
set(get(h2,'Parent'),'YLabel',h2);
h2 = text('Parent',h1, ...
'Color',[0 0 0], ...
'HandleVisibility','off', ...
'HorizontalAlignment','center', ...
'Position',[-284.8033645023182 -294.2197037794074 87.26018216482238], ...
'Rotation',90, ...
'Tag','Axes1Text1', ...
'VerticalAlignment','baseline');
set(get(h2,'Parent'),'ZLabel',h2);
if nargout > 0, fig = h0; end
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -