?? chap8_6plot.m
字號:
close all;
figure(1);
subplot(311);
plot(t,w(:,1),'r');
xlabel('time(s)');ylabel('w1');
subplot(312);
plot(t,w(:,2),'r');
xlabel('time(s)');ylabel('w2');
subplot(313);
plot(t,w(:,3),'r');
xlabel('time(s)');ylabel('w3');
figure(2);
subplot(411);
plot(t,q(:,1),'r');
xlabel('time(s)');ylabel('q1');
subplot(412);
plot(t,q(:,2),'r');
xlabel('time(s)');ylabel('q2');
subplot(413);
plot(t,q(:,3),'r');
xlabel('time(s)');ylabel('q3');
subplot(414);
plot(t,q(:,4),'r');
xlabel('time(s)');ylabel('q4');
figure(3);
subplot(311);
plot(t,M(:,1),'r');
xlabel('time(s)');ylabel('M1');
subplot(312);
plot(t,M(:,2),'r');
xlabel('time(s)');ylabel('M2');
subplot(313);
plot(t,M(:,3),'r');
xlabel('time(s)');ylabel('M3');
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -