-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathfig2.m
More file actions
42 lines (32 loc) · 727 Bytes
/
fig2.m
File metadata and controls
42 lines (32 loc) · 727 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
33
34
35
36
37
38
39
40
41
function fig2
def('addpath');
fsiz = [0.3526 0.5259 .3 0.2630*3];
close all;
figure; set(gcf,'units','normalized'); set(gcf,'position',fsiz);
nr = 3;
nc = 2;
sim_DR_tree(nr,nc,2);
h(3:4) = sim_DR_maze(nr,nc,3:4);
h(5:6) = sim_approx_navigation(nr,nc,5:6);
for i = 1
h(i) = subplot(nr,nc,i);
set(h(i),'visible','off');
end
h([2 6]) = [];
% --------
fs = def('fs');
fn = def('fn');
fsy = def('fsy');
alf = def('alf');
fsA = def('fsA');
xsA = -.05 + def('xsA');
ysA = def('ysA');
abc = def('abc');
bw = .15;
cols = def('col');
cols = cols([3 2 1],:);
for i= 1:length(h)
set(h(i),'fontsize',fs,'fontname',fn);
text(xsA,ysA,abc(i),'fontsize',fsA,'Unit','normalized','fontname',fn,'parent',h(i));
end
end