getfontscale.m

来自「这是一个基于matlab开发的关于c语言的图形转换程序,可实现直方图的生成和传输」· M 代码 · 共 20 行

M
20
字号
function SCALE = getfontscale()
%GETFONTSCALE Platform dependent code to get font scale.
%   SCALE = GETFONTSCALE determines the platform dependent value
%   for the SCALE parameter used with the SETFONTS function.
%
%   See also SETFONTS

% Jordan Rosenthal, 22-Jun-99

switch upper(computer)
case 'MAC2'
   SCALE = 1.4;
otherwise
   if isunix
      SCALE = 1.2;
   else
      SCALE = 1;
   end
end

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?