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

📄 sptsizes.m

📁 有关matlab的电子书籍有一定的帮助希望有用
💻 M
字号:
function sz = sptsizes
%SPTSIZES Get size structure for laying out UIControls for SPTool and Clients.

%   Copyright (c) 1988-98 by The MathWorks, Inc.
% $Revision: 1.6 $

% ====================================================================
% defines sizes (in pixels) for various dimensions
sz.ih = 47;   %icon height
sz.iw = 42;   %icon width
sz.lw = 130;  %listbox width
sz.fus = 5;   %frame/uicontrol spacing
sz.ffs = 5;   %frame/figure spacing
sz.lfs = 3;   %label/frame spacing
if ~isempty(findstr(computer,'PC'))
    sz.lh = get(0,'defaultuicontrolfontsize')+10;   %label height   
else
    sz.lh = get(0,'defaultuicontrolfontsize')+4;   %label height 
end
sz.uh = 20;   %uicontrol height
sz.rw = 130;  %ruler width
sz.rih = 40;  %ruler icon height
sz.riw = (sz.rw-2*sz.ffs-2*sz.fus)/2;  %ruler icon width
sz.pmw = 14;  %plus/minus width
sz.lbs = 3;  %label/box spacing
sz.as = [50 40 20 30]; %spacing of main axes from [left bottom right top]
                       % of main axes port
scalefactor = (get(0,'screenpixelsperinch')/72)^.5;
sz.as = sz.as*scalefactor;
sz.ph = 60; %panner height
sz.bw = 110;  % button width

⌨️ 快捷键说明

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