📄 met2char.m
字号:
'Position',[387 179.25 22.5 15], ...
'Style','edit', ...
'Tag','EditAKrok');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat14, ...
'ListboxTop',0, ...
'Position',[339 179.25 22.5 15], ...
'Style','edit', ...
'Tag','EditADo');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat15, ...
'ListboxTop',0, ...
'Position',[300 179.25 22.5 15], ...
'Style','edit', ...
'Tag','EditAOd');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
'ListboxTop',0, ...
'Position',[277.5 182.25 20.25 9.75], ...
'String','from:', ...
'Style','text', ...
'Tag','TextAOd');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
'ListboxTop',0, ...
'Position',[324.75 181.5 13.5 10.5], ...
'String','to:', ...
'Style','text', ...
'Tag','TextADo');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
'ListboxTop',0, ...
'Position',[364.5 181.5 21 11.25], ...
'String','step:', ...
'Style','text', ...
'Tag','TextAKrok');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
'ListboxTop',0, ...
'Position',[17.25 45.75 123 114], ...
'Style','frame', ...
'Tag','RamGraf');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
'ListboxTop',0, ...
'Position',[24.75 152.25 78.75 13.5], ...
'String','Display range (axes):', ...
'Style','text', ...
'Tag','TextAxes');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'Callback',mat16, ...
'Enable','off', ...
'ListboxTop',0, ...
'Position',[10.5 18 42 18], ...
'String','Evaluate', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'Callback','close(gcf);', ...
'ListboxTop',0, ...
'Position',[57 18 42 18], ...
'String','Exit', ...
'Tag','Pushbutton2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'Callback','web(fullfile(cd,''help'',''met2char.html''));', ...
'ListboxTop',0, ...
'Position',[103.5 18 42 18], ...
'String','Help', ...
'Tag','Pushbutton3');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
'ListboxTop',0, ...
'Position',[27.75 134.25 60 13.5], ...
'String','Re - minimum:', ...
'Style','text', ...
'Tag','TextRoz1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
'ListboxTop',0, ...
'Position',[29.25 115.5 60 13.5], ...
'String','Re - maximum:', ...
'Style','text', ...
'Tag','TextRoz2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
'ListboxTop',0, ...
'Position',[27.75 97.5 60 13.5], ...
'String','Im - minimum:', ...
'Style','text', ...
'Tag','TextRoz3');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
'ListboxTop',0, ...
'Position',[28.5 78 60 13.5], ...
'String','Im - maximum:', ...
'Style','text', ...
'Tag','TextRoz4');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat17, ...
'ListboxTop',0, ...
'Position',[96 134.25 31.5 15], ...
'String','-15', ...
'Style','edit', ...
'Tag','EditRoz1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat18, ...
'ListboxTop',0, ...
'Position',[95.25 116.25 31.5 15], ...
'String','0', ...
'Style','edit', ...
'Tag','EditRoz2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat19, ...
'ListboxTop',0, ...
'Position',[95.25 98.25 31.5 15], ...
'String','-1', ...
'Style','edit', ...
'Tag','EditRoz3');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat20, ...
'ListboxTop',0, ...
'Position',[95.25 80.25 31.5 15], ...
'String','1', ...
'Style','edit', ...
'Tag','EditRoz4');
h1 = axes('Parent',h0, ...
'Units','pixels', ...
'Box','on', ...
'CameraUpVector',[0 1 0], ...
'CameraUpVectorMode','manual', ...
'Color',[1 1 1], ...
'ColorOrder',mat21, ...
'Layer','top', ...
'Position',[16 374 188 50], ...
'Tag','LinObr', ...
'Visible','off', ...
'XColor',[0 0 0], ...
'XLim',[0.5 173.5], ...
'XLimMode','manual', ...
'YColor',[0 0 0], ...
'YDir','reverse', ...
'YLim',[0.5 47.5], ...
'YLimMode','manual', ...
'ZColor',[0 0 0]);
h2 = image('Parent',h1, ...
'CData',mat22, ...
'Tag','Image1', ...
'XData',[1 173], ...
'YData',[1 47]);
h2 = text('Parent',h1, ...
'Color',[0 0 0], ...
'HandleVisibility','off', ...
'HorizontalAlignment','center', ...
'Position',[86.53743315508022 70.5204081632653 9.160254037844386], ...
'Tag','Text4', ...
'VerticalAlignment','cap', ...
'Visible','off');
set(get(h2,'Parent'),'XLabel',h2);
h2 = text('Parent',h1, ...
'Color',[0 0 0], ...
'HandleVisibility','off', ...
'HorizontalAlignment','center', ...
'Position',[-22.62834224598931 25.4387755102041 9.160254037844386], ...
'Rotation',90, ...
'Tag','Text3', ...
'VerticalAlignment','baseline', ...
'Visible','off');
set(get(h2,'Parent'),'YLabel',h2);
h2 = text('Parent',h1, ...
'Color',[0 0 0], ...
'HandleVisibility','off', ...
'HorizontalAlignment','right', ...
'Position',[-14.30213903743316 -105.969387755102 9.160254037844386], ...
'Tag','Text2', ...
'Visible','off');
set(get(h2,'Parent'),'ZLabel',h2);
h2 = text('Parent',h1, ...
'Color',[0 0 0], ...
'HandleVisibility','off', ...
'HorizontalAlignment','center', ...
'Position',[86.53743315508022 -6.214285714285708 9.160254037844386], ...
'Tag','Text1', ...
'VerticalAlignment','bottom', ...
'Visible','off');
set(get(h2,'Parent'),'Title',h2);
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
'Callback','if get(findall(gcf,''Tag'',''Mriezka''),''Value''),grid on;else,grid off;end', ...
'ListboxTop',0, ...
'Position',[39.75 54.75 87.75 15], ...
'String','Display grid', ...
'Style','checkbox', ...
'Tag','Mriezka', ...
'Value',1);
h1 = axes('Parent',h0, ...
'Box','on', ...
'CameraUpVector',[0 1 0], ...
'CameraUpVectorMode','manual', ...
'Color',[1 1 1], ...
'ColorOrder',mat23, ...
'NextPlot','add', ...
'Position',[0.3918918918918919 0.04299065420560748 0.5574324324324325 0.3626168224299066], ...
'Tag','Graf', ...
'XColor',[0 0 0], ...
'XGrid','on', ...
'XLim',[-15 0], ...
'XLimMode','manual', ...
'YColor',[0 0 0], ...
'YGrid','on', ...
'YLim',[-1 1], ...
'YLimMode','manual', ...
'ZColor',[0 0 0], ...
'ZGrid','on');
h2 = line('Parent',h1, ...
'Color',[0 0 1], ...
'Tag','GrafPlot1', ...
'XData',[], ...
'YData',[]);
h2 = line('Parent',h1, ...
'Color',[1 0 0], ...
'Tag','GrafPlot2', ...
'XData',[], ...
'YData',[]);
h2 = text('Parent',h1, ...
'Color',[0 0 0], ...
'HandleVisibility','off', ...
'HorizontalAlignment','center', ...
'Position',[-7.522796352583587 -1.248704663212435 9.160254037844386], ...
'Tag','GrafXLabel', ...
'VerticalAlignment','cap');
set(get(h2,'Parent'),'XLabel',h2);
h2 = text('Parent',h1, ...
'Color',[0 0 0], ...
'HandleVisibility','off', ...
'HorizontalAlignment','center', ...
'Position',mat24, ...
'Rotation',90, ...
'Tag','GrafYLabel', ...
'VerticalAlignment','baseline');
set(get(h2,'Parent'),'YLabel',h2);
h2 = text('Parent',h1, ...
'Color',[0 0 0], ...
'HandleVisibility','off', ...
'HorizontalAlignment','right', ...
'Position',[-25.62310030395137 4.284974093264249 9.160254037844386], ...
'Tag','GrafZLabel', ...
'Visible','off');
set(get(h2,'Parent'),'ZLabel',h2);
h2 = text('Parent',h1, ...
'Color',[0 0 0], ...
'HandleVisibility','off', ...
'HorizontalAlignment','center', ...
'Position',[-7.522796352583587 1.072538860103627 9.160254037844386], ...
'Tag','GrafNazov', ...
'VerticalAlignment','bottom');
set(get(h2,'Parent'),'Title',h2);
h2 = image('Parent',h1, ...
'CData',mat25, ...
'Tag','GrafImage1', ...
'XData',[1 189], ...
'YData',[1 76]);
h2 = image('Parent',h1, ...
'CData',mat26, ...
'Tag','GrafImage2', ...
'XData',[1 189], ...
'YData',[1 76]);
if nargout > 0, fig = h0; end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -