📄 plotdistlines.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 + -