?? temp.m
字號:
clear all;
%the=linspace(0,100,2*pi);
the=0:2*pi/99:2*pi;
x=cos(the);
y=sin(the);
scale=2;
scrsz = get(0,'ScreenSize');
scrsz(1:2) = round([scrsz(3),scrsz(4)]*(.5-.5/scale));
scrsz(3:4) = round([scrsz(3),scrsz(4)]/scale);
figure('Position',scrsz)
set(gcf,'Color',[1,1,1])
axes('position',[0 0 1 1])
for i=1:100
plot([0,x(i)],[0,y(i)]);
axis([-1,1,-1,1]);
F(i) = getframe;
%pause;
end
movie(F,20,25);
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -