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

📄 plotdistlines.m

📁 在matlab环境下
💻 M
字号:
function plotDistLines(h,fontSize);

    angles = [0.05:0.05:2*pi+0.01];
    
    axes(h);
    hold(h,'on');
    
    for n =1:4
        x = cos( angles(5-n:end-4+n) ) *20e3*n;
        y = sin(angles(5-n:end-4+n))*20e3*n;
        plot(h,x,y,'k');
        str = [num2str(20*n) 'Km'];
        text(n*20e3-5e3,0,str,'color','k','fontSize',fontSize);
    end
    axis (h,'equal');
    set(h,'xlim',[-100 100]*1e3, 'ylim', [-100 100]*1e3);

⌨️ 快捷键说明

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