gui_defaults.m

来自「水声模型 很不错的东西」· M 代码 · 共 31 行

M
31
字号
function DfltInfo = GUI_Defaults()
%DfltInfo = GUI_Defaults()
%This function sets up some default parameters for the GUI functions that can be user specific.
%Modify this file as required, rename it as a .m file, and put it somewhere on your Matlab path.
%DON'T put it in the GUI library directory on the server as this will muck others around.
 
%Default directory for saving TIF images
DfltInfo.ImageDir = 'C:\0todayswork\Thesis'; 

%Default fonts for title, labels and axis numbering

DfltInfo.TitleFont.FontName = 'Helvetica';
DfltInfo.TitleFont.FontAngle = 'normal';
DfltInfo.TitleFont.FontWeight = 'bold';
DfltInfo.TitleFont.FontUnits = 'points';
DfltInfo.TitleFont.FontSize = 14;


DfltInfo.LabelFont.FontName = 'Helvetica';
DfltInfo.LabelFont.FontAngle = 'normal';
DfltInfo.LabelFont.FontWeight = 'bold';
DfltInfo.LabelFont.FontUnits = 'points';
DfltInfo.LabelFont.FontSize = 12;


DfltInfo.AxisFont.FontName = 'Helvetica';
DfltInfo.AxisFont.FontAngle = 'normal';
DfltInfo.AxisFont.FontWeight = 'normal';
DfltInfo.AxisFont.FontUnits = 'points';
DfltInfo.AxisFont.FontSize = 12;

⌨️ 快捷键说明

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