📄 hermite.m
字号:
function fig = hermite()
% 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 hermite
h0 = figure('Color',[0.8 0.8 0.8], ...
'Colormap',mat0, ...
'FileName','E:\图形学\图形学2\hermite.m', ...
'PaperPosition',[18 180 576 432], ...
'PaperUnits','points', ...
'Position',[1 29 800 534], ...
'Tag','Fig1', ...
'ToolBar','none');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 0 1], ...
'Callback','tiaohe1', ...
'FontSize',10, ...
'FontWeight','bold', ...
'ForegroundColor',[0 1 0], ...
'ListboxTop',0, ...
'Position',[495.75 360 87 25.5], ...
'String','调和函数图象(一)', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 0.501960784313725 0.250980392156863], ...
'Callback','hquxian', ...
'FontSize',10, ...
'FontWeight','bold', ...
'ForegroundColor',[0 1 0.250980392156863], ...
'ListboxTop',0, ...
'Position',[495 279.75 90.75 25.5], ...
'String','H曲线的切向量', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.501960784313725 0.501960784313725 1], ...
'Callback','qiexiang1', ...
'FontSize',10, ...
'FontWeight','bold', ...
'ForegroundColor',[1 1 0], ...
'ListboxTop',0, ...
'Position',[492.75 234.75 96.75 27.75], ...
'String','切向量长度的影响一', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.501960784313725 0.501960784313725 0.250980392156863], ...
'Callback','ziyou', ...
'FontSize',10, ...
'FontWeight','bold', ...
'ForegroundColor',[1 0.501960784313725 1], ...
'ListboxTop',0, ...
'Position',[495 102.75 90.75 27], ...
'String','自由曲线的连接', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 0], ...
'Callback',mat1, ...
'FontSize',10, ...
'FontWeight','bold', ...
'ForegroundColor',[0 0 1], ...
'ListboxTop',0, ...
'Position',[495 62.25 91.5 24], ...
'String','清屏', ...
'Tag','Pushbutton2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.501960784313725 1 0], ...
'FontSize',10, ...
'FontWeight','bold', ...
'ForegroundColor',[1 0 0], ...
'ListboxTop',0, ...
'Position',[492 144 101.25 36], ...
'String','please input every vector''s length from the keyboard', ...
'Style','text', ...
'Tag','StaticText1');
h1 = axes('Parent',h0, ...
'CameraUpVector',[0 1 0], ...
'CameraUpVectorMode','manual', ...
'Color',[1 1 1], ...
'ColorOrder',mat2, ...
'Position',[0.02875 0.0599250936329588 0.77 0.9026217228464419], ...
'Tag','Axes1', ...
'XColor',[0 0 0], ...
'XLim',[0 10], ...
'XLimMode','manual', ...
'YColor',[0 0 0], ...
'YLim',[0 10], ...
'YLimMode','manual', ...
'ZColor',[0 0 0]);
h2 = text('Parent',h1, ...
'Color',[0 0 0], ...
'HandleVisibility','off', ...
'HorizontalAlignment','center', ...
'Position',[4.991869918699188 -0.4989604989604981 9.160254037844386], ...
'Tag','Axes1Text4', ...
'VerticalAlignment','cap');
set(get(h2,'Parent'),'XLabel',h2);
h2 = text('Parent',h1, ...
'Color',[0 0 0], ...
'HandleVisibility','off', ...
'HorizontalAlignment','center', ...
'Position',[-0.4065040650406505 4.968814968814969 9.160254037844386], ...
'Rotation',90, ...
'Tag','Axes1Text3', ...
'VerticalAlignment','baseline');
set(get(h2,'Parent'),'YLabel',h2);
h2 = text('Parent',h1, ...
'Color',[0 0 0], ...
'HandleVisibility','off', ...
'HorizontalAlignment','right', ...
'Position',mat3, ...
'Tag','Axes1Text2', ...
'Visible','off');
set(get(h2,'Parent'),'ZLabel',h2);
h2 = text('Parent',h1, ...
'Color',[0 0 0], ...
'HandleVisibility','off', ...
'HorizontalAlignment','center', ...
'Position',mat4, ...
'Tag','Axes1Text1', ...
'VerticalAlignment','bottom');
set(get(h2,'Parent'),'Title',h2);
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 0 0.501960784313725], ...
'Callback','qiexiang2', ...
'FontSize',10, ...
'FontWeight','bold', ...
'ForegroundColor',[0 1 1], ...
'ListboxTop',0, ...
'Position',[492.75 193.5 98.25 25.5], ...
'String','切向量长度的影响二', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 0.501960784313725 0.752941176470588], ...
'Callback',mat5, ...
'FontSize',10, ...
'FontWeight','bold', ...
'ForegroundColor',[0 0 1], ...
'ListboxTop',0, ...
'Position',[493.5 21.75 91.5 21], ...
'String','返回主界面', ...
'Tag','Pushbutton2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0 1 1], ...
'Callback','tiaohe2', ...
'FontSize',10, ...
'FontWeight','bold', ...
'ForegroundColor',[1 0 0], ...
'ListboxTop',0, ...
'Position',[495.75 322.5 87 25.5], ...
'String','调和函数图象(二)', ...
'Tag','Pushbutton3');
if nargout > 0, fig = h0; end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -