-
Notifications
You must be signed in to change notification settings - Fork 93
Expand file tree
/
Copy pathinitialise_df.m
More file actions
32 lines (30 loc) · 965 Bytes
/
initialise_df.m
File metadata and controls
32 lines (30 loc) · 965 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
function initialise_df
%
%% LICENSE
% Copyright (C) 2020 Philip Calado, Ilario Gelmetti, and Piers R. F. Barnes
% Imperial College London
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU Affero General Public License as published
% by the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
%% Start code
% Plotting defaults
set(0,'DefaultLineLinewidth',1.5);
set(0,'DefaultAxesFontSize',16);
set(0,'DefaultFigurePosition', [600, 200, 600, 450]);
set(0,'DefaultAxesXcolor', [0, 0, 0]);
set(0,'DefaultAxesYcolor', [0, 0, 0]);
set(0,'DefaultAxesZcolor', [0, 0, 0]);
set(0,'DefaultTextColor', [0, 0, 0]);
% Add file paths to functions, avoid hidden directories like .git
addpath(pwd)
files = dir(pwd);
dirs = files(cat(1,files.isdir));
for i=1:length(dirs)
dirname = dirs(i).name;
if ~any(regexp(dirname,'^\.'))
addpath(dirname);
end
end
end