visual.m

来自「In the planning stage of a GNSS-measurem」· M 代码 · 共 1,701 行 · 第 1/5 页

M
1,701
字号
        editWidth2  = 3*frmBorder;        textLeft1   = frmBorder + frmPosition(1);        textLeft2   = textLeft1 + 5*frmBorder;                textLeft3   = textLeft2 + 3*frmBorder + editSpacing;          textLeft4   = textLeft3 + 3*frmBorder + editSpacing;        textLeft5   = textLeft4 + 4*frmBorder;        textLeft6   = textLeft5 + 3*frmBorder + editSpacing;          textLeft7   = textLeft6 + 3*frmBorder + editSpacing;                  textBottom1 = frmPosition(2) + frmPosition(4) - editHeight - frmBorder;        h = uicontrol ( ...            'Style','Text',...            'FontWeight','Bold',...            'Units','normalized', ...            'Position',[textLeft1 textBottom1 editWidth1 editHeight], ...            'String','observations:', ...            'HorizontalAlignment','left', ...            'BackgroundColor',textBackgroundColor);        h = uicontrol ( ...            'Style','checkbox', ...            'FontWeight','normal',...            'Units','normalized', ...            'Position',[textLeft2 textBottom1 editWidth2 editHeight], ...            'String','phase', ...            'HorizontalAlignment','left', ...            'BackgroundColor',textBackgroundColor,...            'Tag','phasesel',...            'Callback',['visual obstype phaseon'],...            'Value',1);        h = uicontrol ( ...            'Style','checkbox', ...            'FontWeight','normal',...            'Units','normalized', ...            'Position',[textLeft5 textBottom1 editWidth2 editHeight], ...            'String','code', ...            'HorizontalAlignment','left', ...            'BackgroundColor',textBackgroundColor,...            'Tag','codesel',...            'Callback',['visual obstype codeon'],...            'Value',1);                textBottom = textBottom1 - editHeight -editSpacing;                       h = uicontrol ( ...            'Style','Text',...            'FontWeight','normal',...            'Fontsize',8,...            'Units','normalized', ...            'Position',[textLeft2 textBottom editWidth2 editHeight], ...            'String','st.dev.[m]', ...            'HorizontalAlignment','left', ...            'BackgroundColor',textBackgroundColor);           h = uicontrol ( ...            'Style','Text',...            'FontWeight','normal',...            'Fontsize',8,...            'Units','normalized', ...            'Position',[textLeft3 textBottom editWidth2 editHeight], ...            'String','a [m]', ...            'HorizontalAlignment','left', ...            'BackgroundColor',textBackgroundColor);        h = uicontrol ( ...            'Style','Text',...            'FontWeight','normal',...            'Fontsize',8,...            'Units','normalized', ...            'Position',[textLeft4 textBottom editWidth2 editHeight], ...            'String','e0 [deg]', ...            'HorizontalAlignment','left', ...            'BackgroundColor',textBackgroundColor);                  h = uicontrol ( ...            'Style','Text',...            'FontWeight','normal',...            'Fontsize',8,...            'Units','normalized', ...            'Position',[textLeft5 textBottom editWidth2 editHeight], ...            'String','st.dev.[m]', ...            'HorizontalAlignment','left', ...            'BackgroundColor',textBackgroundColor);           h = uicontrol ( ...            'Style','Text',...            'FontWeight','normal',...            'Fontsize',8,...            'Units','normalized', ...            'Position',[textLeft6 textBottom editWidth2 editHeight], ...            'String','a [m]', ...            'HorizontalAlignment','left', ...            'BackgroundColor',textBackgroundColor);        h = uicontrol ( ...            'Style','Text',...            'FontWeight','normal',...            'Fontsize',8,...            'Units','normalized', ...            'Position',[textLeft7 textBottom editWidth2 editHeight], ...            'String','e0 [deg]', ...            'HorizontalAlignment','left', ...            'BackgroundColor',textBackgroundColor);                 textBottom2 = textBottom - editHeight -editSpacing;        h = uicontrol (...            'Style','radiobutton', ...            'Units','normalized', ...            'Position',[textLeft1 textBottom2 editWidth1 editHeight], ...            'String','L1', ...            'BackgroundColor',textBackgroundColor, ...            'Tag','pL1', ...            'Value',1,...            'Enable','On');        textBottom = textBottom2 - editHeight -editSpacing;        h = uicontrol (...            'Style','radiobutton', ...            'Units','normalized', ...            'Position',[textLeft1 textBottom editWidth1 editHeight], ...            'String','L2', ...            'BackgroundColor',textBackgroundColor, ...            'Tag','pL2', ...            'Value',1,...            'Callback',['visual rectype noncc'],...            'Enable','On');        textBottom = textBottom - editHeight -editSpacing;        h = uicontrol (...            'Style','radiobutton', ...            'Units','normalized', ...            'Position',[textLeft1 textBottom editWidth1 editHeight], ...            'String','L5', ...            'BackgroundColor',textBackgroundColor, ...            'Tag','pL5', ...            'Value',0,...            'Enable','On');        textBottom = textBottom - editHeight -editSpacing;        h = uicontrol (...            'Style','radiobutton', ...            'Units','normalized', ...            'Position',[textLeft1 textBottom editWidth1 editHeight], ...            'String','L2-L1', ...            'BackgroundColor',textBackgroundColor, ...            'Tag','pL2L1', ...            'Callback',['visual rectype cc'], ...            'Value',0,...            'Enable','On');        textBottom = textBottom - editHeight -editSpacing;        h = uicontrol (...            'Style','radiobutton', ...            'Units','normalized', ...            'Position',[textLeft1 textBottom editWidth1 editHeight], ...            'String','E2-L1-E1', ...            'BackgroundColor',textBackgroundColor, ...            'Tag','pE1', ...            'Value',0,...            'Enable','Off',...            'Visible','On');        textBottom = textBottom - editHeight -editSpacing;        h = uicontrol (...            'Style','radiobutton', ...            'Units','normalized', ...            'Position',[textLeft1 textBottom editWidth1 editHeight], ...            'String','E5a', ...            'BackgroundColor',textBackgroundColor, ...            'Tag','pE5a', ...            'Value',0,...            'Enable','Off');        textBottom = textBottom - editHeight -editSpacing;        h = uicontrol (...            'Style','radiobutton', ...            'Units','normalized', ...            'Position',[textLeft1 textBottom editWidth1 editHeight], ...            'String','E5b', ...            'BackgroundColor',textBackgroundColor, ...            'Tag','pE5b', ...            'Value',0,...            'Enable','Off');        textBottom = textBottom - editHeight -editSpacing;        h = uicontrol (...            'Style','radiobutton', ...            'Units','normalized', ...            'Position',[textLeft1 textBottom editWidth1 editHeight], ...            'String','E6', ...            'BackgroundColor',textBackgroundColor, ...            'Tag','pE6', ...            'Value',0,...            'Enable','Off');        %%% standard deviations        h = uicontrol (...            'Style','Edit', ...            'Units','normalized', ...            'Position',[textLeft2 textBottom2 editWidth2 editHeight], ...            'HorizontalAlignment','center', ...            'BackgroundColor',editBackgroundColor, ...            'String','0.003',...            'Tag','sigp1',...            'Enable','On');        h = uicontrol (...            'Style','Edit', ...            'Units','normalized', ...            'Position',[textLeft3 textBottom2 editWidth2 editHeight], ...            'HorizontalAlignment','center', ...            'BackgroundColor',editBackgroundColor, ...            'String','0',...            'Tag','ap1',...            'Enable','On');         h = uicontrol (...            'Style','Edit', ...            'Units','normalized', ...            'Position',[textLeft4 textBottom2 editWidth2 editHeight], ...            'HorizontalAlignment','center', ...            'BackgroundColor',editBackgroundColor, ...            'String','10',...            'Tag','ep1',...            'Enable','On');                textBottom = textBottom2 - editHeight -editSpacing;        h = uicontrol (...            'Style','Edit', ...            'Units','normalized', ...            'Position',[textLeft2 textBottom editWidth2 editHeight], ...            'HorizontalAlignment','center', ...            'BackgroundColor',editBackgroundColor, ...            'String','0.003',...            'Tag','sigp2',...            'Enable','On');        h = uicontrol (...            'Style','Edit', ...            'Units','normalized', ...            'Position',[textLeft3 textBottom editWidth2 editHeight], ...            'HorizontalAlignment','center', ...            'BackgroundColor',editBackgroundColor, ...            'String','0',...            'Tag','ap2',...            'Enable','On');         h = uicontrol (...            'Style','Edit', ...            'Units','normalized', ...            'Position',[textLeft4 textBottom editWidth2 editHeight], ...            'HorizontalAlignment','center', ...            'BackgroundColor',editBackgroundColor, ...            'String','10',...            'Tag','ep2',...            'Enable','On');                textBottom = textBottom - editHeight -editSpacing;        h = uicontrol (...            'Style','Edit', ...            'Units','normalized', ...            'Position',[textLeft2 textBottom editWidth2 editHeight], ...            'HorizontalAlignment','center', ...            'BackgroundColor',editBackgroundColor, ...            'String','0.003',...            'Tag','sigp3',...            'Enable','On');        h = uicontrol (...            'Style','Edit', ...            'Units','normalized', ...            'Position',[textLeft3 textBottom editWidth2 editHeight], ...            'HorizontalAlignment','center', ...            'BackgroundColor',editBackgroundColor, ...            'String','0',...            'Tag','ap3',...            'Enable','On');         h = uicontrol (...            'Style','Edit', ...            'Units','normalized', ...            'Position',[textLeft4 textBottom editWidth2 editHeight], ...            'HorizontalAlignment','center', ...            'BackgroundColor',editBackgroundColor, ...            'String','10',...            'Tag','ep3',...            'Enable','On');                textBottom = textBottom - editHeight -editSpacing;        h = uicontrol (...            'Style','Edit', ...            'Units','normalized', ...            'Position',[textLeft2 textBottom editWidth2 editHeight], ...            'HorizontalAlignment','center', ...            'BackgroundColor',editBackgroundColor, ...            'String','0.003',...            'Tag','sigp4',...            'Enable','On',...            'Visible','On');        h = uicontrol (...            'Style','Edit', ...            'Units','normalized', ...            'Position',[textLeft3 textBottom editWidth2 editHeight], ...            'HorizontalAlignment','center', ...            'BackgroundColor',editBackgroundColor, ...            'String','0',...            'Tag','ap4',...            'Enable','On');         h = uicontrol (...            'Style','Edit', ...            'Units','normalized', ...            'Position',[textLeft4 textBottom editWidth2 editHeight], ...            'HorizontalAlignment','center', ...            'BackgroundColor',editBackgroundColor, ...            'String','10',...            'Tag','ep4',...            'Enable','On');                h = uicontrol (...            'Style','Edit', ...            'Units','normalized', ...            'Position',[textLeft5 textBottom2 editWidth2 editHeight], ...            'HorizontalAlignment','center', ...

⌨️ 快捷键说明

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