This commit is contained in:
Horldsence
2026-09-13 10:27:09 +08:00
parent b810ec7777
commit 82311a47cc
52 changed files with 2563 additions and 1278 deletions
+11
View File
@@ -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