📄 gbyang.m
字号:
t=0: pi/20: 2*pi;
[x, y]=meshgrid(t);
subplot(2,2,1);
plot(sin(t),cos(t));
axis equal;
subplot(2,2,2);
z=sin(x)+cos(y);
plot(t,z);
axis([0 2*pi -2 2]);
subplot(2,2,3);
z=sin(x);
z=sin(x).*cos(y);
plot(t,z);
axis([0 2*pi -1 1]);
subplot(2,2,4);
z=(sin(x).^2)-(cos(y).^2);
plot(t,z);
axis([0 2*pi -1 1]);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -