📄 ex4_1.m
字号:
t=0:.1:2*pi; y=sin(t); plot(t,y)
t=0:.1:2*pi; y=[sin(t); cos(t)]; plot(t,y)
t=0:.1:2*pi; plotyy(t,sin(t),t,0.01*cos(t))
t=0:.1:2*pi; y=[sin(t); cos(t)]; plot(t,y)
plot(t,sin(t),t,cos(t))
t=0:.1:2*pi; y1=sin(t); y2=cos(t); y3=sin(t).*cos(t);
plot(t,y1,'-',t,y2,':',t,y3,'x')
grid, xlabel('This is my X axis'),
ylabel('My Y axis'), title('My Own Plot')
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -