📄 createfigure.m
字号:
function createfigure(xdata1, ydata1, zdata1)
%CREATEFIGURE(XDATA1,YDATA1,ZDATA1)
% XDATA1: surface xdata
% YDATA1: surface ydata
% ZDATA1: surface zdata
% Auto-generated by MATLAB on 30-Apr-2009 21:45:43
% Create figure
figure1 = figure('PaperSize',[20.98 29.68]);
% Create axes
axes1 = axes('Parent',figure1,'YDir','reverse');
% Uncomment the following line to preserve the X-limits of the axes
% xlim([-90 90]);
% Uncomment the following line to preserve the Y-limits of the axes
% ylim([-10 30]);
% Uncomment the following line to preserve the Z-limits of the axes
% zlim([-60 0]);
view([1.5 18]);
grid('on');
hold('all');
% Create surf
surf(xdata1,ydata1,zdata1,'Parent',axes1,'FaceColor','interp',...
'EdgeColor','none');
% Create xlabel
xlabel('angle/°','HorizontalAlignment','right');
% Create ylabel
ylabel('SNR/dB','HorizontalAlignment','left');
% Create zlabel
zlabel('P(angle)/dB');
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -