📄 createfigure.m
字号:
function createfigure(x1, y1)
%CREATEFIGURE(X1,Y1)
% X1: vector of x data
% Y1: vector of y data
% Auto-generated by MATLAB on 27-Feb-2006 14:47:52
%% Create figure
figure1 = figure(...
'Name','Sound',...
'NumberTitle','off',...
'PaperPosition',[0.6345 6.345 20.3 15.23],...
'PaperSize',[20.98 29.68]);
%% Create axes
axes1 = axes('Position',[0.1 0.22 0.576 0.68],'Parent',figure1);
title(axes1,'12880 Samples');
xlabel(axes1,'Time in seconds');
box(axes1,'on');
hold(axes1,'all');
%% Create plot
plot1 = plot(x1,y1);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -