📄 mplot.m
字号:
function mplot(s)
%
%
[dim,sample]=size(s);
if dim>sample
s=s';
[dim,sample]=size(s);
end
if dim>6
error('dim can not more than six');
end
for i=1:dim
subplot(dim,1,i);
plot(s(i,:));
axis('tight');
set(gca,'XTick',[]);
if i==1
xlabel('y1');
end
if i==2
xlabel('y2');
end
if i==3
xlabel('y3');
end
if i==4
xlabel('y4');
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -