123
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
function S = fig_style()
|
||||
%FIG_STYLE 出图环境:目录、导出参数与 MATLAB 默认配色。
|
||||
% 除 fig_replay(回放画布,点运动图)外,各图一律使用 MATLAB 默认图形样式:
|
||||
% 默认配色、默认字体、默认坐标轴与图例;本函数不设置任何自定义样式。
|
||||
|
||||
root = fileparts(fileparts(fileparts(mfilename('fullpath'))));
|
||||
S.data_dir = fullfile(root, 'docs', 'figures', '.data');
|
||||
S.out_dir = fullfile(root, 'docs', 'figures');
|
||||
S.dpi = 300; % 论文插图导出分辨率
|
||||
S.c = get(groot, 'defaultAxesColorOrder'); % 默认配色(7×3)
|
||||
end
|
||||
Reference in New Issue
Block a user