📄 shown.m
字号:
function show(imageData)
% Syntax: show(image, figIdx)
%
% Arg: imageData - image matrix to be show
% figIdx - figure number
%
% Remark: Show the image with equal and tight axis and pink colormap
%
% Author: Haley
% Date: March 04, 1998
% $Revision: 1.0 $
figIdx=figure;
if errargn('show', nargin, [1 2], nargout, 0), error('*'), end
if nargin > 1
figIdx = abs(round(figIdx));
if figIdx ~= 0
figure(figIdx);
else
figure;
end
end
imagesc(imageData);
%colormap(pink(256));
colormap(gray(256));
axis equal;
axis tight;
axis off;
hold on;zoom
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -