📄 visual.m
字号:
'Tag','ec3b',... 'Enable','Off'); textBottom = textBottom - editHeight -editSpacing; h = uicontrol (... 'Style','Edit', ... 'Units','normalized', ... 'Position',[textLeft5 textBottom editWidth2 editHeight], ... 'HorizontalAlignment','center', ... 'BackgroundColor',[.8 .8 .8], ... 'String','0.3',... 'Tag','sigc4b',... 'Enable','Off'); h = uicontrol (... 'Style','Edit', ... 'Units','normalized', ... 'Position',[textLeft6 textBottom editWidth2 editHeight], ... 'HorizontalAlignment','center', ... 'BackgroundColor',[.8 .8 .8], ... 'String','0',... 'Tag','ac4b',... 'Enable','Off'); h = uicontrol (... 'Style','Edit', ... 'Units','normalized', ... 'Position',[textLeft7 textBottom editWidth2 editHeight], ... 'HorizontalAlignment','center', ... 'BackgroundColor',[.8 .8 .8], ... 'String','10',... 'Tag','ec4b',... 'Enable','Off'); % -------------------- % --- output frame --- % -------------------- frmBorder = 0.015; frmPosition = zeros(1,4); frmPosition(1) = 2*editWidth + 5*editSpacing + 30*frmBorder + 0.0575; frmPosition(2) = 1 - (10*editHeight + 9*editSpacing + 3*frmBorder); frmPosition(3) = 2*editWidth + 1*editSpacing + 2*frmBorder; frmPosition(4) = 10*editHeight + 9*editSpacing + 2*frmBorder; h = uicontrol (... 'Style','frame', ... 'Units','normalized', ... 'Position',frmPosition, ... 'BackgroundColor', [0 0.70 0.70]); textLeft1 = frmBorder + frmPosition(1); textBottom1 = frmPosition(2) + frmPosition(4) - editHeight - frmBorder; h = uicontrol ( ... 'Style','Text',... 'FontWeight','Bold',... 'Units','normalized', ... 'Position',[textLeft1 textBottom1 editWidth editHeight], ... 'String','output:', ... 'HorizontalAlignment','left', ... 'BackgroundColor',textBackgroundColor); textLeft2 = textLeft1 + editWidth + editSpacing; h = uicontrol (... 'Style','Popupmenu', ... 'Units','normalized', ... 'Position',[textLeft2 textBottom1 editWidth editHeight], ... 'HorizontalAlignment','center', ... 'BackgroundColor',editBackgroundColor, ... 'String','MDB|MDE|BNR|success rate|biased success rate|MDE + success rates|PDOP|GDOP|number of satellites|satellite tracks',... 'Tag','output',... 'Callback',['visual output'],... 'Value',9); textBottom = textBottom1 - 2*editHeight -2*editSpacing; h = uicontrol ( ... 'Style','text',... 'Units','normalized', ... 'Position',[textLeft1 textBottom editWidth editHeight], ... 'String','type of error', ... 'HorizontalAlignment','left', ... 'BackgroundColor',textBackgroundColor); h = uicontrol ( ... 'Style','popupmenu',... 'Units','normalized', ... 'Position',[textLeft2 textBottom editWidth editHeight], ... 'String','carrier slip|code outlier', ... 'HorizontalAlignment','center', ... 'BackgroundColor',[0.8 0.8 0.8],... 'Tag','errtype',... 'Enable','Off',... 'Value',2); textBottom = textBottom - editHeight -editSpacing; h = uicontrol (... 'Style','text', ... 'Units','normalized', ... 'Position',[textLeft1 textBottom editWidth editHeight], ... 'HorizontalAlignment','left', ... 'String','frequency',... 'BackgroundColor',textBackgroundColor); h = uicontrol (... 'Style','Popupmenu', ... 'Units','normalized', ... 'Position',[textLeft2 textBottom editWidth editHeight], ... 'HorizontalAlignment','center', ... 'BackgroundColor',[0.8 0.8 0.8], ... 'String','L1|L2|L5',... 'Tag','outputfreq',... 'Value',1,... 'Enable','Off'); textBottom = textBottom - editHeight -editSpacing; h = uicontrol (... 'Style','text', ... 'Units','normalized', ... 'Position',[textLeft1 textBottom editWidth editHeight], ... 'HorizontalAlignment','left', ... 'String','epoch',... 'BackgroundColor',textBackgroundColor); h = uicontrol (... 'Style','edit', ... 'Units','normalized', ... 'Position',[textLeft2 textBottom editWidth editHeight], ... 'HorizontalAlignment','center', ... 'BackgroundColor',[0.8 0.8 0.8], ... 'String','1',... 'Tag','startepoch',... 'Enable','Off'); textBottom = textBottom - 2*editHeight -2*editSpacing; h = uicontrol ( ... 'Style','Checkbox', ... 'FontWeight','normal',... 'Units','normalized', ... 'Position',[textLeft1 textBottom 2*editWidth editHeight], ... 'BackgroundColor',textBackgroundColor,... 'String','save output to file', ... 'HorizontalAlignment','left', ... 'Value',1,... 'Tag','saveout'); h = uicontrol (... 'Style','edit', ... 'Units','normalized', ... 'Position',[textLeft2 textBottom editWidth editHeight], ... 'HorizontalAlignment','center', ... 'BackgroundColor',[1 1 1], ... 'String','tmp.mat',... 'Tag','filename',... 'Enable','On'); textBottom = textBottom - editHeight -editSpacing; h = uicontrol ( ... 'Style','Checkbox', ... 'FontWeight','normal',... 'Units','normalized', ... 'Position',[textLeft1 textBottom 2*editWidth editHeight], ... 'BackgroundColor',textBackgroundColor,... 'String','plot output in new window', ... 'HorizontalAlignment','left', ... 'Tag','plotnew',... 'Value',1); % --------------------------- % --- atmosphere frame --- % --------------------------- frmBorder2 = 0.015; frmPosition = zeros(1,4); frmPosition(1) = 0.0575; frmPosition(2) = 1 - (15.5*editHeight + 11*editSpacing + 6*frmBorder); frmPosition(3) = 2*editWidth + 1*editSpacing + 2*frmBorder; frmPosition(4) = 5.5*editHeight + 3*editSpacing + 2*frmBorder; h = uicontrol ('Style','frame','Units','normalized', ... 'Position',frmPosition,'BackgroundColor', [0 0.70 0.70]); textLeft1 = frmBorder + frmPosition(1); textBottom = frmPosition(2) + frmPosition(4) - editHeight - frmBorder2; h = uicontrol ( ... 'Style','Text', ... 'FontWeight','Bold',... 'Units','normalized', ... 'Position',[textLeft1 textBottom editWidth editHeight], ... 'String','ionosphere:', ... 'HorizontalAlignment','left', ... 'BackgroundColor',textBackgroundColor); textLeft = textLeft1 + editWidth + editSpacing; h = uicontrol (... 'Style','Popupmenu', ... 'Units','normalized', ... 'Position',[textLeft textBottom editWidth editHeight], ... 'HorizontalAlignment','center', ... 'BackgroundColor',editBackgroundColor, ... 'String','fixed|float|weighted',... 'Tag','ioncase',... 'Callback',['visual ionoweight'],... 'Value',1); textBottom1 = textBottom - editHeight -editSpacing; h = uicontrol (... 'Style','radiobutton', ... 'Units','normalized', ... 'Position',[textLeft1 textBottom1 editWidth editHeight], ... 'String','st.dev. [m]', ... 'BackgroundColor',textBackgroundColor, ... 'Callback',['visual ionoweight sigion'], ... 'Tag','sigion', ... 'Value',1,... 'Enable','Off'); textBottom = textBottom1 - editHeight -editSpacing; h = uicontrol (... 'Style','radiobutton', ... 'Units','normalized', ... 'Position',[textLeft1 textBottom editWidth editHeight], ... 'String','baseline [km]', ... 'BackgroundColor',textBackgroundColor, ... 'Callback',['visual ionoweight baseline'], ... 'Tag','baseline', ... 'Value',0,... 'Enable','Off'); h = uicontrol (... 'Style','Edit', ... 'Units','normalized', ... 'Position',[textLeft textBottom1 editWidth editHeight], ... 'HorizontalAlignment','center', ... 'BackgroundColor',[0.8 0.8 0.8], ... 'String','0',... 'Tag','sdionweight',... 'Enable','Off'); textBottom = textBottom1 - editHeight -editSpacing; h = uicontrol (... 'Style','Edit', ... 'Units','normalized', ... 'Position',[textLeft textBottom editWidth editHeight], ... 'HorizontalAlignment','center', ... 'BackgroundColor',[0.8 0.8 0.8], ... 'String','10',... 'Tag','blionweight',... 'Enable','Off'); textBottom = textBottom - 1.5*editHeight -editSpacing; h = uicontrol ( ... 'Style','Text', ... 'FontWeight','Bold',... 'Units','normalized', ... 'Position',[textLeft1 textBottom editWidth editHeight], ... 'String','troposphere:', ... 'HorizontalAlignment','left', ... 'BackgroundColor',textBackgroundColor); h = uicontrol (... 'Style','Popupmenu', ... 'Units','normalized', ... 'Position',[textLeft textBottom editWidth editHeight], ... 'HorizontalAlignment','center', ... 'BackgroundColor',editBackgroundColor, ... 'String','fixed|float',... 'Tag','tropocase',... 'Callback',['visual tropo'],... 'Value',1); textBottom1 = textBottom - editHeight -editSpacing; h = uicontrol (... 'Style','Text', ... 'Units','normalized', ... 'Position',[textLeft1 textBottom1 editWidth editHeight], ... 'String','mapping function', ... 'HorizontalAlignment','left', ... 'BackgroundColor',textBackgroundColor); h = uicontrol (... 'Style','Popupmenu', ... 'Units','normalized', ... 'Position',[textLeft textBottom1 editWidth editHeight], ... 'HorizontalAlignment','center', ... 'BackgroundColor',editBackgroundColor, ... 'String','1/cos(z)|Ifadis',... 'Tag','mapfun',... 'Callback',['visual tropo'],... 'Value',1,... 'Enable','Off'); % ---------------------------- % location % ---------------------------- frmPosition = zeros(1,4); frmPosition(1) = 2*editWidth + 1*editSpacing + 3*frmBorder + 0.0575; frmPosition(2) = 1 - (15.5*editHeight + 11*editSpacing + 6*frmBorder); frmPosition(3) = 4*editSpacing + 26*frmBorder; frmPosition(4) = 5.5*editHeight + 3*editSpacing + 2*frmBorder; h = uicontrol ('Style','frame', 'Units','normalized', ... 'Position',frmPosition,'BackgroundColor', [0 0.70 0.70]); % ------------------- % location choice --- % ------------------- textLeft1 = frmPosition(1) + frmBorder; textLeft2 = textLeft1 + 5*frmBorder; textLeft3 = textLeft2 + 8*frmBorder + 2*editSpacing; textLeft4 = textLeft3 + 5*frmBorder + editSpacing; editWidth1 = 5*frmBorder; editWidth2 = 6*frmBorder + editSpacing; textBottom = frmPosition(2) + frmPosition(4) - editHeight - frmBorder2; h = uicontrol ( ... 'Style','Text', ... 'FontWeight','Bold',... 'Units','normalized', ... 'Position',[textLeft1 textBottom editWidth1 editHeight], ... 'String','location:', ... 'HorizontalAlignment','left', ...
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -