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

📄 gui.m

📁 很多matlab的源代码
💻 M
📖 第 1 页 / 共 2 页
字号:
'BackgroundColor',[0.7 0.7 0.7], ...'FontSize',6.375, ...'FontWeight','bold', ...'ListboxTop',0, ...'Position',[105.8 34.76923076923077 34 1.307692307692308], ...'String','OUTPUT SIGNAL', ...'Style','text', ...'Tag','OutputTitle');h1 = axes('Parent',h0, ...'Units','characters', ...'Box','on', ...'CameraUpVector',[0 1 0], ...'CameraUpVectorMode','manual', ...'Color',[1 1 1], ...'ColorOrder',mat6, ...'FontSize',12, ...'FontWeight','bold', ...'NextPlot','replacechildren', ...'Position',[9.800000000000001 18.38461538461539 34 14.23076923076923], ...'Tag','InputAxis', ...'XColor',[0 0 0], ...'XLim',[-5 30], ...'XLimMode','manual', ...'YColor',[0 0 0], ...'YLim',[-5 5], ...'YLimMode','manual', ...'ZColor',[0 0 0]);h2 = text('Parent',h1, ...'Color',[0 0 0], ...'FontWeight','bold', ...'HandleVisibility','off', ...'HorizontalAlignment','center', ...'Position',[12.39644970414201 5.434782608695651 17.32050807568877], ...'String',mat7, ...'Tag','InputAxisTitle', ...'VerticalAlignment','bottom');set(get(h2,'Parent'),'Title',h2);h2 = text('Parent',h1, ...'Color',[0 0 0], ...'FontWeight','bold', ...'HandleVisibility','off', ...'HorizontalAlignment','center', ...'Position',[12.39644970414201 -6.413043478260869 17.32050807568877], ...'String','t', ...'Tag','InputAxisXLabel', ...'VerticalAlignment','cap');set(get(h2,'Parent'),'XLabel',h2);h2 = text('Parent',h1, ...'Color',[0 0 0], ...'FontWeight','bold', ...'HandleVisibility','off', ...'HorizontalAlignment','center', ...'Position',[-10.17751479289941 -0.05434782608695699 17.32050807568877], ...'Rotation',90, ...'String','Amplitude', ...'Tag','InputAxisYLabel', ...'VerticalAlignment','baseline');set(get(h2,'Parent'),'YLabel',h2);h2 = text('Parent',h1, ...'Color',[0 0 0], ...'HandleVisibility','off', ...'HorizontalAlignment','right', ...'Position',[-15.35502958579882 7.989130434782606 17.32050807568877], ...'Tag','InputAxisZLabel', ...'Visible','off');set(get(h2,'Parent'),'ZLabel',h2);h2 = line('Parent',h1, ...'Color',[1 0 0], ...'LineStyle','none', ...'LineWidth',2, ...'Marker','o', ...'MarkerFaceColor',[0 0 1], ...'Tag','Axes4Line3', ...'XData',mat8, ...'YData',mat9);h2 = line('Parent',h1, ...'Color',[1 0 0], ...'LineWidth',2, ...'MarkerFaceColor',[0 0 1], ...'Tag','Axes4Line2', ...'XData',mat10, ...'YData',mat11);h2 = line('Parent',h1, ...'Color',[1 0 0], ...'LineStyle',':', ...'LineWidth',2, ...'MarkerFaceColor',[0 0 1], ...'Tag','Axes4Line1', ...'XData',[0 0], ...'YData',[-5 5]);% 'XTick',mat13, ...% 'XTickLabel',mat14, ...h1 = axes('Parent',h0, ...'Units','characters', ...'Box','on', ...'CameraUpVector',[0 1 0], ...'CameraUpVectorMode','manual', ...'Color',[1 1 1], ...'ColorOrder',mat12, ...'FontSize',14, ...'FontWeight','bold', ...'LineWidth',1, ...'NextPlot','replacechildren', ...'Position',[55.8 23 38 11.53846153846154], ...'Tag','MagAxis', ...'XColor',[0 0 0], ...'XGrid','on', ...'XLim',[0.0 200.0], ...'XLimMode','manual', ...'XTickLabelMode','manual', ...'XTickLabel','0|20|40|60|80|100|150|200',...'XTickMode','manual', ...'XTick',[0 20 40 60 80 100 150 200],...'YColor',[0 0 0], ...'YGrid','on', ...'YLim',[0 1.1], ...'YLimMode','manual', ...'ZColor',[0 0 0], ...'ZGrid','on');h2 = text('Parent',h1, ...'Color',[0 0 0], ...'FontWeight','bold', ...'HandleVisibility','off', ...'HorizontalAlignment','center', ...'Position',mat15, ...'String','Magnitude of the Filter', ...'Tag','MagAxisTitle', ...'VerticalAlignment','bottom');set(get(h2,'Parent'),'Title',h2);h2 = text('Parent',h1, ...'Color',[0 0 0], ...'FontSize',8, ...'FontWeight','bold', ...'HandleVisibility','off', ...'HorizontalAlignment','center', ...'Position',[-0.002645502645502784 -0.2067114093959732 17.32050807568877], ...'String','Frequency (Hz)', ...'Tag','MagAxisXLabel', ...'VerticalAlignment','cap');set(get(h2,'Parent'),'XLabel',h2);h2 = text('Parent',h1, ...'Color',[0 0 0], ...'FontSize',8, ...'FontWeight','bold', ...'HandleVisibility','off', ...'HorizontalAlignment','center', ...'Position',[-0.6904761904761905 0.5389261744966444 17.32050807568877], ...'Rotation',90, ...'String','Magnitude', ...'Tag','MagAxisYLabel', ...'VerticalAlignment','baseline');set(get(h2,'Parent'),'YLabel',h2);h2 = text('Parent',h1, ...'Color',[0 0 0], ...'HandleVisibility','off', ...'HorizontalAlignment','right', ...'Position',mat16, ...'Tag','MagAxisZLabel', ...'Visible','off');set(get(h2,'Parent'),'ZLabel',h2);h2 = line('Parent',h1, ...'Color',[0 0 1], ...'LineWidth',2, ...'MarkerFaceColor',[0 0 1], ...'Tag','Axes3Line4', ...'XData',mat17, ...'YData',mat18);h2 = line('Parent',h1, ...'Color',[1 0 0], ...'Marker','o', ...'MarkerFaceColor',[1 0 0], ...'MarkerSize',9, ...'Tag','Axes3Line3', ...'Visible','off', ...'XData',0, ...'YData',1);h2 = line('Parent',h1, ...'Color',[1 0 0], ...'Marker','o', ...'MarkerFaceColor',[1 0 0], ...'MarkerSize',9, ...'Tag','Axes3Line2', ...'XData',0.1, ...'YData',0.8736381321683958);h2 = line('Parent',h1, ...'Color',[1 0 0], ...'Marker','o', ...'MarkerFaceColor',[1 0 0], ...'MarkerSize',9, ...'Tag','Axes3Line1', ...'XData',-0.1, ...'YData',0.8736381321683958);% 'XTick',mat20, ...% 'XTickLabel',mat21, ...h1 = axes('Parent',h0, ...'Units','characters', ...'Box','on', ...'CameraUpVector',[0 1 0], ...'CameraUpVectorMode','manual', ...'Color',[1 1 1], ...'ColorOrder',mat19, ...'FontSize',14, ...'FontWeight','bold', ...'LineWidth',1, ...'NextPlot','replacechildren', ...'Position',[55.8 6.076923076923078 38 11.53846153846154], ...'Tag','PhaseAxis', ...'XColor',[0 0 0], ...'XGrid','on', ...'XLim',[0.0 200.0], ...'XLimMode','manual', ...'XTick',[0 20 40 60 80 100 150 200],...'XTickLabel','0|20|40|60|80|100|150|200',...'XTickLabelMode','manual', ...'XTickMode','manual', ...'YColor',[0 0 0], ...'YGrid','on', ...'YLim',[-3.5 3.5], ...'YLimMode','manual', ...'ZColor',[0 0 0], ...'ZGrid','on');h2 = text('Parent',h1, ...'Color',[0 0 0], ...'FontWeight','bold', ...'HandleVisibility','off', ...'HorizontalAlignment','center', ...'Position',[-0.002645502645502784 3.920000000000002 17.32050807568877], ...'String','Phase of the Filter', ...'Tag','PhaseAxisTitle', ...'VerticalAlignment','bottom');set(get(h2,'Parent'),'Title',h2);h2 = text('Parent',h1, ...'Color',[0 0 0], ...'FontSize',8, ...'FontWeight','bold', ...'HandleVisibility','off', ...'HorizontalAlignment','center', ...'Position',[-0.002645502645502784 -4.806666666666665 17.32050807568877], ...'String','Frequency (Hz)', ...'Tag','PhaseAxisXLabel', ...'VerticalAlignment','cap');set(get(h2,'Parent'),'XLabel',h2);h2 = text('Parent',h1, ...'Color',[0 0 0], ...'FontSize',8, ...'FontWeight','bold', ...'HandleVisibility','off', ...'HorizontalAlignment','center', ...'Position',[-0.642857142857143 -0.04666666666666508 17.32050807568877], ...'Rotation',90, ...'String','Phase (radians)', ...'Tag','PhaseAxisYLabel', ...'VerticalAlignment','baseline');set(get(h2,'Parent'),'YLabel',h2);h2 = text('Parent',h1, ...'Color',[0 0 0], ...'HandleVisibility','off', ...'HorizontalAlignment','right', ...'Position',mat22, ...'Tag','PhaseAxisZLabel', ...'Visible','off');set(get(h2,'Parent'),'ZLabel',h2);h2 = line('Parent',h1, ...'Color',[0 0 1], ...'LineWidth',2, ...'MarkerFaceColor',[0 0 1], ...'Tag','Axes2Line3', ...'XData',mat23, ...'YData',mat24);h2 = line('Parent',h1, ...'Color',[1 0 0], ...'Marker','o', ...'MarkerFaceColor',[1 0 0], ...'MarkerSize',9, ...'Tag','Axes2Line2', ...'Visible','off', ...'XData',0, ...'YData',0);h2 = line('Parent',h1, ...'Color',[1 0 0], ...'Marker','o', ...'MarkerFaceColor',[1 0 0], ...'MarkerSize',9, ...'Tag','Axes2Line1', ...'XData',0.1, ...'YData',-0.6258641614573418);h1 = axes('Parent',h0, ...'Units','characters', ...'Box','on', ...'CameraUpVector',[0 1 0], ...'CameraUpVectorMode','manual', ...'Color',[1 1 1], ...'ColorOrder',mat25, ...'FontSize',14, ...'FontWeight','bold', ...'NextPlot','replacechildren', ...'Position',[105.8 18.38461538461539 34 14.23076923076923], ...'Tag','OutputAxis', ...'XColor',[0 0 0], ...'XLim',[-5 30], ...'XLimMode','manual', ...'YColor',[0 0 0], ...'YLim',[-5 5], ...'YLimMode','manual', ...'ZColor',[0 0 0]);h2 = text('Parent',h1, ...'Color',[0 0 0], ...'FontWeight','bold', ...'HandleVisibility','off', ...'HorizontalAlignment','center', ...'Position',[12.396449704142 5.489130434782606 17.32050807568877], ...'Tag','OutputAxisTitle', ...'VerticalAlignment','bottom');set(get(h2,'Parent'),'Title',h2);h2 = text('Parent',h1, ...'Color',[0 0 0], ...'FontSize',8, ...'FontWeight','bold', ...'HandleVisibility','off', ...'HorizontalAlignment','center', ...'Position',[12.396449704142 -6.521739130434783 17.32050807568877], ...'String','t', ...'Tag','OutputAxisXLabel', ...'VerticalAlignment','cap');set(get(h2,'Parent'),'XLabel',h2);h2 = text('Parent',h1, ...'Color',[0 0 0], ...'FontSize',8, ...'FontWeight','bold', ...'HandleVisibility','off', ...'HorizontalAlignment','center', ...'Position',[-10.59171597633137 -0.05434782608695699 17.32050807568877], ...'Rotation',90, ...'String','Amplitude', ...'Tag','OutputAxisYLabel', ...'VerticalAlignment','baseline');set(get(h2,'Parent'),'YLabel',h2);h2 = text('Parent',h1, ...'Color',[0 0 0], ...'HandleVisibility','off', ...'HorizontalAlignment','right', ...'Position',mat26, ...'Tag','OutputAxisZLabel', ...'Visible','off');set(get(h2,'Parent'),'ZLabel',h2);h2 = line('Parent',h1, ...'Color',[1 0 1], ...'LineStyle','none', ...'LineWidth',2, ...'Marker','o', ...'MarkerFaceColor',[0 0 1], ...'Tag','Axes1Line3', ...'XData',mat27, ...'YData',mat28);h2 = line('Parent',h1, ...'Color',[1 0 1], ...'LineWidth',2, ...'MarkerFaceColor',[0 0 1], ...'Tag','Axes1Line2', ...'XData',mat29, ...'YData',mat30);h2 = line('Parent',h1, ...'Color',[1 0 1], ...'LineStyle',':', ...'LineWidth',2, ...'MarkerFaceColor',[0 0 1], ...'Tag','Axes1Line1', ...'XData',[0 0], ...'YData',[-5 5]);if nargout > 0, fig = h0; end% eof: gui.m

⌨️ 快捷键说明

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