?? 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','parent',h,'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 + -