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

📄 convgui.m

📁 这是一个基于matlab开发的关于c语言的图形转换程序,可实现直方图的生成和传输
💻 M
📖 第 1 页 / 共 2 页
字号:
function fig = gui()
% 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 convgui

h0 = figure('Units','characters', ...
	'Color',[0.8 0.8 0.8], ...
	'Colormap',mat0, ...
   'CreateFcn','cconvdemo_callbacks SetFigureSize', ...
   'DoubleBuffer','on', ...
	'KeyPressFcn','cconvdemo_callbacks KeyPressFcn', ...
	'MenuBar','none', ...
	'Name','Convolution Demo', ...
	'NumberTitle','off', ...
	'PaperPosition',[18 180 576 432], ...
	'PaperUnits','points', ...
   'Position',[30.2 11 144 36.92307692307693], ...
   'ResizeFcn','cconvdemo_callbacks ResizeFcn', ...   
   'Tag','CCONVDEMO', ...
   'UserData',mat1);
h1 = uimenu('Parent',h0, ...
	'Label','&Plot &Options', ...
	'Tag','Plot Options');
h2 = uimenu('Parent',h1, ...
	'Callback','cconvdemo_callbacks(get(gcbo,''Tag''));', ...
	'Label','&Tutorial Mode', ...
	'Tag','Tutorial Mode');
h2 = uimenu('Parent',h1, ...
	'Callback','cconvdemo_callbacks(get(gcbo,''Tag''));', ...
	'Label','&Conserve Space', ...
	'Separator','on', ...
	'Tag','Conserve Space');
h2 = uimenu('Parent',h1, ...
	'Callback','cconvdemo_callbacks(get(gcbo,''Tag''));', ...
	'Label','&Grid On', ...
	'Tag','Grid On');
h2 = uimenu('Parent',h1, ...
	'Callback','cconvdemo_callbacks(get(gcbo,''Tag''));', ...
	'Enable','off', ...
	'Label','&Reset Axes', ...
	'Tag','Reset Axes');
h2 = uimenu('Parent',h1, ...
	'Callback','cconvdemo_callbacks(get(gcbo,''Tag''));', ...
	'Enable','off', ...
	'Label','Set &t Value...', ...
	'Tag','Set t Value');
h2 = uimenu('Parent',h1, ...
	'Callback','cconvdemo_callbacks(get(gcbo,''Tag''));', ...
	'Label','&Set Line Width...', ...
	'Tag','Set Line Width');
h1 = uimenu('Parent',h0, ...
	'Label','&Help', ...
	'Tag','Help');
h2 = uimenu('Parent',h1, ...
	'Callback','cconvdemo_callbacks(get(gcbo,''Tag''));', ...
	'Label','&Navigate to help files with default browser', ...
	'Tag','Help');
h1 = axes('Parent',h0, ...
	'Units','characters', ...
	'Box','on', ...
	'CameraUpVector',[0 -1 0], ...
	'CameraUpVectorMode','manual', ...
	'Color',[0.7 0.7 0.7], ...
	'ColorOrder',mat2, ...
	'FontSize',14, ...
	'NextPlot','replacechildren', ...
	'Position',[90.72 6.646153846153846 50.4 11.44615384615384], ...
	'Tag','TextAxis', ...
   'XColor',[0 0 0], ...
   'XDir','reverse', ...
	'XTickMode','manual', ...
	'YColor',[0 0 0], ...
	'YTickMode','manual', ...
	'ZColor',[0 0 0], ...
	'ZTickMode','manual');
h2 = text('Parent',h1, ...
	'Units','normalized', ...
	'FontUnits','normalized', ...
	'Color',[0 0 1], ...
	'FontSize',0.1, ...
	'FontWeight','bold', ...
	'HorizontalAlignment','center', ...
	'Position',[0.496031746031746 0.8926174496644295 0], ...
	'String','To Start', ...
	'Tag','InitTextInfo');
h2 = text('Parent',h1, ...
	'Units','normalized', ...
	'FontUnits','normalized', ...
	'Color',[0 0 0], ...
	'FontSize',0.1, ...
	'FontWeight','bold', ...
	'HorizontalAlignment','center', ...
	'Position',[0.496031746031746 0.4496644295302014 0], ...
	'String',mat3, ...
	'Tag','InitTextInfo');
h2 = text('Parent',h1, ...
	'Units','normalized', ...
	'FontUnits','normalized', ...
	'Color',[0 0 0], ...
	'FontSize',mat4, ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Position',[0.496031746031746 -0.04697986577181208 0], ...
	'Tag','TextAxisXLabel', ...
	'VerticalAlignment','cap');
set(get(h2,'Parent'),'XLabel',h2);
h2 = text('Parent',h1, ...
	'Units','normalized', ...
	'FontUnits','normalized', ...
	'Color',[0 0 0], ...
	'FontSize',mat5, ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Position',[-0.02777777777777778 0.4966442953020134 0], ...
	'Rotation',90, ...
	'Tag','TextAxisYLabel', ...
	'VerticalAlignment','baseline');
set(get(h2,'Parent'),'YLabel',h2);
h2 = text('Parent',h1, ...
	'Units','normalized', ...
	'FontUnits','normalized', ...
	'Color',[0 0 0], ...
	'FontSize',0.0894854586129754, ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Position',mat6, ...
	'Tag','TextAxisZLabel', ...
	'Visible','off');
set(get(h2,'Parent'),'ZLabel',h2);
h2 = text('Parent',h1, ...
	'Units','normalized', ...
	'FontUnits','normalized', ...
	'Color',[0 0 0], ...
	'FontSize',mat7, ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Position',mat8, ...
	'Tag','TextAxisTitle', ...
	'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',mat9, ...
	'FontSize',12, ...
	'NextPlot','replacechildren', ...
	'Position',[7.2 25.23075692307692 76.32000000000001 9.846166153846149], ...
	'Tag','SignalAxis', ...
	'XColor',[0 0 0], ...
	'XLim',[-25 25], ...
	'XLimMode','manual', ...
	'XTickLabelMode','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', ...
	'Position',[0.4973821989528796 -0.078125 0], ...
	'Tag','SignalAxisXLabel', ...
	'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', ...
	'Position',[-0.08638743455497383 0.4921875 0], ...
	'Rotation',90, ...
	'Tag','SignalAxisYLabel', ...
	'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', ...
	'Position',[-0.0968586387434555 1.1796875 0], ...
	'Tag','SignalAxisZLabel', ...
	'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', ...
	'Position',[0.4973821989528796 1.0625 0], ...
	'Tag','SignalAxisTitle', ...
	'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',mat10, ...
	'FontSize',12, ...
	'NextPlot','replacechildren', ...
	'Position',mat11, ...
	'Tag','MultiplyAxis', ...
	'XColor',[0 0 0], ...
	'XLim',[-25 25], ...
	'XLimMode','manual', ...
	'XTickLabelMode','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.078125 0], ...
	'Tag','MultiplyAxisXLabel', ...
	'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','MultiplyAxisYLabel', ...
	'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 2.3671875 0], ...
	'Tag','MultiplyAxisZLabel', ...
	'Visible','off');
set(get(h2,'Parent'),'ZLabel',h2);

⌨️ 快捷键说明

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