📄 sigplot2wingui.m
字号:
'Style','edit', ... 'Tag','EditTextAxisValuesCPI');h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',[1 1 1], ... 'ListboxTop',0, ... 'Position',[0.5216178521617852 0.01756954612005857 0.1506276150627615 0.03660322108345535], ... 'String','[ ]', ... 'Style','edit', ... 'Tag','EditTextAxisValuesTrial');h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',[1 1 1], ... 'ListboxTop',0, ... 'Position',[0.3947001394700139 0.2503660322108345 0.09483960948396095 0.03660322108345535], ... 'String','1', ... 'Style','edit', ... 'Tag','EditTextLengthPulse');h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',[1 1 1], ... 'ListboxTop',0, ... 'Position',[0.3933054393305439 0.2035139092240117 0.09483960948396095 0.03660322108345535], ... 'String','1', ... 'Style','edit', ... 'Tag','EditTextLengthRange');h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',[1 1 1], ... 'ListboxTop',0, ... 'Position',[0.3947001394700139 0.1566617862371889 0.09483960948396095 0.03806734992679356], ... 'String','1', ... 'Style','edit', ... 'Tag','EditTextLengthSpace');h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',[1 1 1], ... 'ListboxTop',0, ... 'Position',mat11, ... 'String','1', ... 'Style','edit', ... 'Tag','EditTextLengthExtra');h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',[1 1 1], ... 'ListboxTop',0, ... 'Position',[0.3917808219178082 0.06550218340611354 0.09452054794520548 0.03784570596797671], ... 'String','1', ... 'Style','edit', ... 'Tag','EditTextLengthCPI');h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',[1 1 1], ... 'ListboxTop',0, ... 'Position',[0.3917808219178083 0.02037845705967976 0.09452054794520549 0.0363901018922853], ... 'String','1', ... 'Style','edit', ... 'Tag','EditTextLengthTrial');h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',[1 1 0.8], ... 'ListboxTop',0, ... 'Position',[0.3890410958904111 0.2867540029112081 0.09452054794520551 0.02620087336244541], ... 'String','Length', ... 'Style','text', ... 'Tag','StaticText12');h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',[1 1 0.8], ... 'ListboxTop',0, ... 'Position',[0.5202231520223152 0.2855051244509517 0.1506276150627615 0.02781844802342606], ... 'String','Axis Values', ... 'Style','text', ... 'Tag','StaticText13');h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',[1 1 1], ... 'Callback',mat12, ... 'ListboxTop',0, ... 'Position',mat13, ... 'String','1', ... 'Style','edit', ... 'Tag','EditTextStartIndexPulse');h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',[1 1 1], ... 'Callback','sigplot2winGUIcb(''startIndexRangeCallBack'') ', ... 'ListboxTop',0, ... 'Position',[0.2887029288702929 0.2020497803806735 0.06555090655509066 0.03660322108345535], ... 'String','1', ... 'Style','edit', ... 'Tag','EditTextStartIndexRange');h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',[1 1 1], ... 'Callback','sigplot2winGUIcb(''startIndexSpaceCallBack'') ', ... 'ListboxTop',0, ... 'Position',mat14, ... 'String','1', ... 'Style','edit', ... 'Tag','EditTextStartIndexSpace');h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',[1 1 1], ... 'Callback','sigplot2winGUIcb(''startIndexExtraCallBack'') ', ... 'ListboxTop',0, ... 'Position',[0.2876712328767123 0.1106259097525473 0.06575342465753425 0.0363901018922853], ... 'String','1', ... 'Style','edit', ... 'Tag','EditTextStartIndexExtra');h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',[1 1 1], ... 'Callback','sigplot2winGUIcb(''startIndexCPICallBack'') ', ... 'ListboxTop',0, ... 'Position',[0.2873082287308229 0.06442166910688141 0.06555090655509066 0.03806734992679356], ... 'String','1', ... 'Style','edit', ... 'Tag','EditTextStartIndexCPI');h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',[1 1 1], ... 'Callback','sigplot2winGUIcb(''startIndexTrialCallBack'') ', ... 'ListboxTop',0, ... 'Position',[0.2876712328767124 0.02037845705967976 0.06575342465753425 0.0363901018922853], ... 'String','1', ... 'Style','edit', ... 'Tag','EditTextStartIndexTrial');h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'Callback',mat15, ... 'ListboxTop',0, ... 'Max',10, ... 'Position',[0.1287671232876712 0.2532751091703057 0.1506849315068493 0.02765647743813683], ... 'Style','slider', ... 'Tag','SliderPulse', ... 'Value',1.2);h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'Callback',mat16, ... 'ListboxTop',0, ... 'Position',[0.1287671232876712 0.2081513828238719 0.1506849315068493 0.02765647743813683], ... 'Style','slider', ... 'Tag','SliderRange', ... 'Value',1);h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'Callback',mat17, ... 'ListboxTop',0, ... 'Position',[0.1287671232876712 0.1615720524017467 0.1506849315068493 0.02765647743813683], ... 'Style','slider', ... 'Tag','SliderSpace', ... 'Value',1);h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'Callback',mat18, ... 'ListboxTop',0, ... 'Position',mat19, ... 'Style','slider', ... 'Tag','SliderExtra', ... 'Value',1);h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'Callback',mat20, ... 'ListboxTop',0, ... 'Position',[0.1287671232876712 0.06986899563318777 0.1506849315068493 0.02765647743813683], ... 'Style','slider', ... 'Tag','SliderCPI', ... 'Value',1);h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'Callback','sigplot2winGUIcb(''sliderTrialCallBack'') ', ... 'ListboxTop',0, ... 'Position',[0.1287671232876712 0.024745269286754 0.1506849315068493 0.02765647743813683], ... 'Style','slider', ... 'Tag','SliderTrial', ... 'Value',1);h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',[1 1 0.8], ... 'ListboxTop',0, ... 'Position',[0.05616438356164383 0.2489082969432315 0.07123287671232877 0.02911208151382824], ... 'String','Pulse', ... 'Style','text', ... 'Tag','StaticText14');h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',[1 1 0.8], ... 'ListboxTop',0, ... 'Position',[0.05616438356164383 0.2023289665211063 0.07123287671232877 0.02911208151382824], ... 'String','Range', ... 'Style','text', ... 'Tag','StaticText15');h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',[1 1 0.8], ... 'ListboxTop',0, ... 'Position',[0.05616438356164383 0.1572052401746725 0.07123287671232877 0.03056768558951965], ... 'String','Space', ... 'Style','text', ... 'Tag','StaticText16');h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',[1 1 0.8], ... 'ListboxTop',0, ... 'Position',mat21, ... 'String','Extra', ... 'Style','text', ... 'Tag','StaticText17');h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',[1 1 0.8], ... 'ListboxTop',0, ... 'Position',[0.05616438356164383 0.06550218340611354 0.07123287671232877 0.02911208151382824], ... 'String','CPI', ... 'Style','text', ... 'Tag','StaticText18');h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',[1 1 0.8], ... 'ListboxTop',0, ... 'Position',[0.0547945205479452 0.01746724890829694 0.0726027397260274 0.03056768558951965], ... 'String','Trial', ... 'Style','text', ... 'Tag','StaticText19');h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',[1 1 0.8], ... 'ListboxTop',0, ... 'Position',[0.2082191780821918 0.2845705967976709 0.1438356164383562 0.03056768558951965], ... 'String','Start Index', ... 'Style','text', ... 'Tag','StaticText20');h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',[1 1 0.8], ... 'ListboxTop',0, ... 'Position',mat22, ... 'String','Line Spec', ... 'Style','text', ... 'Tag','StaticText21');h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',[1 1 1], ... 'ListboxTop',0, ... 'Position',[0.8859999999999999 0.3659360651477086 0.1 0.03493026076409946], ... 'String','[]', ... 'Style','edit', ... 'Tag','EditTextLineSpec');h1 = axes('Parent',h0, ... 'CameraUpVector',[0 1 0], ... 'CameraUpVectorMode','manual', ... 'Color',[1 1 1], ... 'ColorOrder',mat23, ... 'FontAngle','italic', ... 'FontSize',8, ... 'Position',[0.07315114775944151 0.3762662807525321 0.6648721399730817 0.5745296671490584], ... 'Tag','AxesPlot', ... 'XColor',[0 0 0], ... 'YColor',[0 0 0], ... 'ZColor',[0 0 0]);h2 = text('Parent',h1, ... 'Color',[0 0 0], ... 'HandleVisibility','off', ... 'HorizontalAlignment','center', ... 'Position',[0.4986595174262734 -0.05921052631578938 9.160254037844386], ... 'Tag','Axes2Text4', ... 'VerticalAlignment','cap');set(get(h2,'Parent'),'XLabel',h2);h2 = text('Parent',h1, ... 'Color',[0 0 0], ... 'HandleVisibility','off', ... 'HorizontalAlignment','center', ... 'Position',[-0.064343163538874 0.4967105263157895 9.160254037844386], ... 'Rotation',90, ... 'Tag','Axes2Text3', ... 'VerticalAlignment','baseline');set(get(h2,'Parent'),'YLabel',h2);h2 = text('Parent',h1, ... 'Color',[0 0 0], ... 'HandleVisibility','off', ... 'HorizontalAlignment','right', ... 'Position',[-0.1126005361930295 1.082236842105263 9.160254037844386], ... 'Tag','Axes2Text2', ... 'Visible','off');set(get(h2,'Parent'),'ZLabel',h2);h2 = text('Parent',h1, ... 'Color',[0 0 0], ... 'HandleVisibility','off', ... 'HorizontalAlignment','center', ... 'Position',mat24, ... 'Tag','Axes2Text1', ... 'VerticalAlignment','bottom');set(get(h2,'Parent'),'Title',h2);h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'Callback','sigplot2winGUIcb(''signalInfo'')', ... 'FontSize',9, ... 'FontWeight','bold', ... 'ListboxTop',0, ... 'Position',[0.85586301369863 0.211620572537603 0.1301369863013699 0.05094614264919942], ... 'String','Signal Info', ... 'Tag','Pushbutton1');h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'Callback','sigplot2winGUIcb(''options'')', ... 'FontSize',9, ... 'FontWeight','bold', ... 'ListboxTop',0, ... 'Position',[0.856 0.1478732007116286 0.13 0.04999999999999999], ... 'String','Options', ... 'Tag','Pushbutton2');h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'Callback','sigplot2winGUIcb(''restoreView'')', ... 'FontSize',9, ... 'FontWeight','bold', ... 'ListboxTop',0, ... 'Position',mat25, ... 'String','Restore View', ... 'Tag','Pushbutton3');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.701960784313725 0.701960784313725 0.701960784313725], ... 'ListboxTop',0, ... 'Position',[492.9882352941177 560.7529411764706 50.8235294117647 16.94117647058824], ... 'Tag','Pushbutton4');if nargout > 0, fig = h0; end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -