📄 view3d.m
字号:
function View3D(Graphic,HeadTitle,Xlabel,Ylabel)
%看Graphic数组的3D图
figure
[M,N] = size(Graphic);
surf(1:M,1:N,double(Graphic));
switch nargin
case 1
return ;
case 2
title(HeadTitle);
return ;
case 4
title(HeadTitle);
xlabel(Xlabel);
ylabel(Ylabel);
otherwise
disp('the input argument number is not correct');
return ;
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -