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

📄 finlowax.m

📁 vTools is a toolbox for Matlab 5.3 developed within the Department of Electrical Systems and A
💻 M
字号:
function h=finlowax();

% find lowest axis label handle, used in the bode plot (makeplot)
% added by giampy 21-june-02

h=[];
ch0=get(0,'child');
if isempty(ch0), return, end

% find handle of mvtools window (mv)
for i=1:length(ch0),
    tagmv=get(ch0(i),'tag');
    ltmv=length(tagmv);
    if ltmv>4,
        if tagmv=='MvMain', mv=ch0(i); end
    end
end

% find all objects of type axes
ta=findobj('type','axes');
if isempty(ta), return, end

% find axis if descendant of mv   
lowpos=[1 1 1]*1e12;
for i=1:size(ta,1),
    obj=ta(i);
    while obj ~= 0,
        if ishandle(obj), 
            obj=get(obj,'parent');
            if obj == mv, 
                pos=get(ta(i),'position');
                if pos(2)<lowpos(2), 
                    lowpos=pos;h=ta(i);
                end              
            end
        else obj=0;
        end
    end
end

⌨️ 快捷键说明

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