?? chps.m
字號:
% 與 chp 類似繪制簡單的2維圖----圖3.2
% 注意程序中 subplot 命令是如何使用的
x=-1:0.05:1;
t0=1.0+0*x; t1=x;
t2=2*x.*t1-t0; t3=2*x.*t2-t1;
subplot(2,2,1); plot(x,t0);
title('Chebeshev T0');
xlabel('x'); ylabel('y');
subplot(2,2,2); plot(x,t1);
title('Chebeshev T1');
xlabel('x'); ylabel('y');
subplot(2,2,3); plot(x,t2);
title('Chebeshev T2');
xlabel('x'); ylabel('y');
subplot(2,2,4); plot(x,t3);
title('Chebeshev T3');
xlabel('x'); ylabel('y');
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -