📄 huitu.m
字号:
%绘图命令
y=[1 3 5 8 4]
plot(y)
x=0:0.001:4*pi
y=cos(x)
plot(x,y)
%subplot
subplot(2,1,1)
x1=0:0.01:4*pi,
x2=0:0.2:4*pi
plot(x1,sin(x1),'--g',x2,sqrt(x2),'+c')
subplot(2,1,2)
t1=0:0.1:2*pi
t2=0:0.1:4
plot(t1,cos(t1),'*k',t2,sin(t2),'--b')
text(0.2, 0.4 ,'字符')
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -