convgui.m

来自「这是一个基于matlab开发的关于c语言的图形转换程序,可实现直方图的生成和传输」· M 代码 · 共 534 行 · 第 1/2 页

M
534
字号
h2 = text('Parent',h1, ...
	'Units','normalized', ...
	'FontUnits','normalized', ...
	'Color',[0 0 0], ...
	'FontSize',0.1458333333333333, ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Interruptible','off', ...
	'Position',[0.4973821989528796 1.0625 0], ...
	'Tag','MultiplyAxisTitle', ...
	'VerticalAlignment','bottom');
set(get(h2,'Parent'),'Title',h2);
h1 = axes('Parent',h0, ...
	'Units','characters', ...
	'CameraUpVector',[0 1 0], ...
	'CameraUpVectorMode','manual', ...
	'Color',[1 1 1], ...
	'ColorOrder',mat12, ...
	'FontSize',12, ...
	'NextPlot','replacechildren', ...
	'Position',[7.2 1.846153846153846 76.32000000000001 9.846166153846149], ...
	'Tag','OutputAxis', ...
	'XColor',[0 0 0], ...
	'XLim',[-25 25], ...
	'XLimMode','manual', ...
	'YColor',[0 0 0], ...
	'ZColor',[0 0 0]);
h2 = text('Parent',h1, ...
	'Units','normalized', ...
	'FontUnits','normalized', ...
	'Color',[0 0 0], ...
	'FontSize',0.1458333333333333, ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Interruptible','off', ...
	'Position',[0.4973821989528796 -0.1953125 0], ...
	'Tag','OutputAxisXLabel', ...
	'VerticalAlignment','cap');
set(get(h2,'Parent'),'XLabel',h2);
h2 = text('Parent',h1, ...
	'Units','normalized', ...
	'FontUnits','normalized', ...
	'Color',[0 0 0], ...
	'FontSize',0.1458333333333333, ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Interruptible','off', ...
	'Position',[-0.08638743455497383 0.4921875 0], ...
	'Rotation',90, ...
	'Tag','OutputAxisYLabel', ...
	'VerticalAlignment','baseline');
set(get(h2,'Parent'),'YLabel',h2);
h2 = text('Parent',h1, ...
	'Units','normalized', ...
	'FontUnits','normalized', ...
	'Color',[0 0 0], ...
	'FontSize',0.125, ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','right', ...
	'Interruptible','off', ...
	'Position',[-0.0968586387434555 3.5546875 0], ...
	'Tag','OutputAxisZLabel', ...
	'Visible','off');
set(get(h2,'Parent'),'ZLabel',h2);
h2 = text('Parent',h1, ...
	'Units','normalized', ...
	'FontUnits','normalized', ...
	'Color',[0 0 0], ...
	'FontSize',0.1458333333333333, ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Interruptible','off', ...
	'Position',[0.4973821989528796 1.0625 0], ...
	'Tag','OutputAxisTitle', ...
	'VerticalAlignment','bottom');
set(get(h2,'Parent'),'Title',h2);
h1 = axes('Parent',h0, ...
	'Units','characters', ...
	'CameraUpVector',[0 1 0], ...
	'CameraUpVectorMode','manual', ...
	'Color',[1 1 1], ...
	'ColorOrder',mat14, ...
	'FontSize',12, ...
	'NextPlot','replacechildren', ...
	'Position',[90.72 26.95384615384615 21.6 6.276923076923077], ...
	'Tag','xAxis', ...
	'XColor',[0 0 0], ...
	'YColor',[0 0 0], ...
	'ZColor',[0 0 0]);
h2 = text('Parent',h1, ...
	'Units','normalized', ...
	'Color',[0 0 0], ...
	'FontSize',mat15, ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Position',[0.4907407407407407 -0.3048780487804878 0], ...
	'Tag','xAxisXLabel', ...
	'VerticalAlignment','cap');
set(get(h2,'Parent'),'XLabel',h2);
h2 = text('Parent',h1, ...
	'Units','normalized', ...
	'Color',[0 0 0], ...
	'FontSize',mat16, ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Position',[-0.3055555555555555 0.4878048780487805 0], ...
	'Rotation',90, ...
	'Tag','xAxisYLabel', ...
	'VerticalAlignment','baseline');
set(get(h2,'Parent'),'YLabel',h2);
h2 = text('Parent',h1, ...
	'Units','normalized', ...
	'Color',[0 0 0], ...
	'FontSize',9.999999999999989, ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','right', ...
	'Position',[-4.212962962962963 1.573170731707317 0], ...
	'Tag','xAxisZLabel', ...
	'Visible','off');
set(get(h2,'Parent'),'ZLabel',h2);
h2 = text('Parent',h1, ...
	'Units','normalized', ...
	'Color',[0 0 0], ...
	'FontWeight','bold', ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Position',[0.4907407407407407 1.097560975609756 0], ...
	'String','Input', ...
	'Tag','xAxisTitle', ...
	'VerticalAlignment','bottom');
set(get(h2,'Parent'),'Title',h2);
h1 = axes('Parent',h0, ...
	'Units','characters', ...
	'CameraUpVector',[0 1 0], ...
	'CameraUpVectorMode','manual', ...
	'Color',[1 1 1], ...
	'ColorOrder',mat17, ...
	'FontSize',12, ...
	'NextPlot','replacechildren', ...
	'Position',[119.52 26.95384615384615 21.6 6.276923076923077], ...
	'Tag','hAxis', ...
	'XColor',[0 0 0], ...
	'YColor',[0 0 0], ...
	'ZColor',[0 0 0]);
h2 = text('Parent',h1, ...
	'Units','normalized', ...
	'Color',[0 0 0], ...
	'FontSize',14, ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Position',[0.4907407407407407 -0.3048780487804878 0], ...
	'Tag','hAxisXLabel', ...
	'VerticalAlignment','cap');
set(get(h2,'Parent'),'XLabel',h2);
h2 = text('Parent',h1, ...
	'Units','normalized', ...
	'Color',[0 0 0], ...
	'FontSize',14, ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Position',[-0.3055555555555555 0.4878048780487805 0], ...
	'Rotation',90, ...
	'Tag','hAxisYLabel', ...
	'VerticalAlignment','baseline');
set(get(h2,'Parent'),'YLabel',h2);
h2 = text('Parent',h1, ...
	'Units','normalized', ...
	'Color',[0 0 0], ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','right', ...
	'Position',[-5.546296296296296 1.573170731707317 0], ...
	'Tag','hAxisZLabel', ...
	'Visible','off');
set(get(h2,'Parent'),'ZLabel',h2);
h2 = text('Parent',h1, ...
	'Units','normalized', ...
	'Color',[0 0 0], ...
	'FontWeight','bold', ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Position',[0.4907407407407407 1.097560975609756 0], ...
	'String','Impulse Response', ...
	'Tag','hAxisTitle', ...
	'VerticalAlignment','bottom');
set(get(h2,'Parent'),'Title',h2);
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.8 0.8 0.8], ...
	'Callback','cconvdemo_callbacks TutorialButtonPush', ...
	'FontName','Helvetica', ...
	'FontSize',9, ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[30.96 5.844923076923076 28.8 1.846153846153846], ...
	'String','Get Output', ...
	'Tag','TutorialButton', ...
	'Visible','off');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.8 0.8 0.8], ...
	'Callback','cconvdemo_callbacks(get(gcbo,''String''))', ...
	'FontName','Helvetica', ...
	'FontSize',9, ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[90.72 22.52307692307692 21.6 2.265732923076923], ...
	'String','Get x(t)', ...
	'Tag','GetButton');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.8 0.8 0.8], ...
	'Callback','cconvdemo_callbacks(get(gcbo,''String''))', ...
	'FontName','Helvetica', ...
	'FontSize',9, ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[119.52 22.52307692307692 21.6 2.265732923076923], ...
	'String','Get h(t)', ...
	'Tag','GetButton');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.8 0.8 0.8], ...
	'Callback','cconvdemo_callbacks FlipButton', ...
	'FontName','Helvetica', ...
	'FontSize',9, ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[95.04000000000001 20.30769230769231 14.4 1.39488], ...
	'String','Flip x(t)', ...
	'Style','radiobutton', ...
	'Tag','FlipButton');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.8 0.8 0.8], ...
	'Callback','cconvdemo_callbacks FlipButton', ...
	'FontName','Helvetica', ...
	'FontSize',9, ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[123.84 20.30769230769231 14.4 1.39488], ...
	'String','Flip h(t)', ...
	'Style','radiobutton', ...
	'Tag','FlipButton', ...
	'Value',1);
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'Callback','cconvdemo_callbacks Close', ...
	'FontName','Helvetica', ...
	'FontSize',9, ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[93.60000000000001 1.846153846153846 20.88 2.953846153846154], ...
	'String','Close', ...
	'Tag','CloseButton');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'Callback','cconvdemo_callbacks Help', ...
	'FontName','Helvetica', ...
	'FontSize',9, ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[117.36 1.846153846153846 20.88 2.953846153846154], ...
	'String','Help', ...
	'Tag','HelpButton');
if nargout > 0, fig = h0; end

⌨️ 快捷键说明

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