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

📄 pi_movepicklinestart.m

📁 基于matlab的反演程序,用于地球物理勘探中射线追踪及偏移成像程序.
💻 M
字号:
function MovePickLineStart();
nm=get(gco,'tag');
switch nm
    case 'PICKMARKER'
        set(gcf,'name','Click & Hold MB1 on Markers to move.  MB3 menu, or function change to stop line moving')
        set(gcf,'windowbuttonmotionfcn','plotimage(''MovePickLineMotion'')',...
            'windowbuttonupfcn','plotimage(''MovePickLineEnd'')');
        udat=get(gco,'userdata');
        set(gco,'erasemode','xor');
        set(findobj(gcf,'type','line','tag','PICKS'),'erasemode','xor');
    case 'PICKS'
        sltype=get(gcf,'selectiontype');
        switch sltype
            case 'alt'
                % will continue on and open line menu
            case 'normal'
                udat=get(gco,'userdata');
                if(isempty(udat))
                elseif(~ishandle(udat(1)))
                else
                    cpt=get(gca,'currentpoint');
                    set(gca,'userdata',cpt);
                    set(gco,'erasemode','xor');
                    set(udat(1),'erasemode','xor');
                    set(udat(2),'erasemode','xor');
                    set(gcf,'name','Click & Hold MB1 on Markers to move.  MB3 menu, or function change to stop line moving')
                    set(gcf,'windowbuttonmotionfcn','plotimage(''MovePickLineMotion'')',...
                        'windowbuttonupfcn','plotimage(''MovePickLineEnd'')');
                    set(findobj(gcf,'type','line','tag','PICKS'),'erasemode','xor');
                end
            case 'More To Come'
        end    
end

⌨️ 快捷键说明

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