display.m
来自「这是一个基于matlab开发的关于c语言的图形转换程序,可实现直方图的生成和传输」· M 代码 · 共 33 行
M
33 行
function display(f)%DISPLAY Displays the CIMPULSE objects data.% DISPLAY(f) displays the objects data. It is automatically called from% when the object is entered in the command window without terminating semicolon.%% See also CIMPULSE% Jordan Rosenthal, 03-Nov-1999
% Rev., 26-Oct-2000 Revised comments
if isequal(get(0,'FormatSpacing'),'compact')
disp([inputname(1), ' = ']);
dispf(f);
else
disp(' ');
disp([inputname(1), ' = ']);
disp(' ');
dispf(f);
end
function dispf(f)
s = formulastring(f);
s = strrep(s,'\rm','');
s = strrep(s,'\it','');
s = strrep(s,'\','');
switch s(1:2)
case {'-d',' d'}
% Do nothing
otherwise
s = strrep(s,'delta','*delta');
end
disp([' ' s]);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?