📄 movielorez.m
字号:
% lorenz movie function
%this function can make the plot3 rotate
[t,y]=ode45('lorenz',[0 30],[12,9,7]);
axis([-20,20, -25, 25 ,10,50 ]);
view([20,42])
h=plot3(y(:,1),y(:,2),y(:,3)),grid on;
for j=1:100
rotate(h,[0 1 0],1.8)
M(j) = getframe;
end
movie(M,5)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -