📄 display.m
字号:
function display(f)%DISPLAY Displays the CSINE 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 CSINE% 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,'\pi',' pi ');
for i = 1:2
disp([' ' s{i}]);
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -