getfontscale.m

来自「很多matlab的源代码」· 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-99switch upper(computer)case 'MAC2'   SCALE = 1.4;otherwise   if isunix      SCALE = 1.2;   else      SCALE = 1;   endend

⌨️ 快捷键说明

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