-
Notifications
You must be signed in to change notification settings - Fork 4
/
do_paper_plots.m
73 lines (54 loc) · 1.15 KB
/
do_paper_plots.m
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
cd ../cvx
cvx_setup cvx_license;
cd ../CPTPprojection
global ensemble drange LIswitch ensemble_size Npows
%% Figure 2a,d of the main paper
ensemble = 'qp';
drange = [2:8];
LIswitch = 0;
ensemble_size = 10; % must be >1
generate_clicks;
launch_solvers;
make_plots; %won't work on r2015a
save('./benchmarking_results/qpPRLresubmission')
clear all;
%% Figure 2b of the main paper
ensemble = 'qp';
drange = [4:4];
LIswitch = 1;
ensemble_size = 10;
Npows = [1,2,3,4,5,6,7,8,Inf];
Ndependence_clicks;
Ndependence_launch_solvers;
Ndependence_make_plots;
clear all;
%% Figure 8a,d
ensemble = 'fr';
drange = [2:8];
LIswitch = 0;
ensemble_size = 10;
generate_clicks;
launch_solvers;
make_plots; %won't work on r2015a
save('./benchmarking_results/frPRLresubmission')
clear all;
%% Figure 8b
ensemble = 'fr';
drange = [4];
LIswitch = 0;
ensemble_size = 10;
Npows = [1,2,3,4,5,6,7,8,Inf];
Ndependence_clicks;
Ndependence_launch_solvers;
Ndependence_make_plots;
clear all;
%% Figure 5
ensemble = 'qp';
drange = [7];
LIswitch = 1; % with
ensemble_size = 10;
Npows = [1,2,3,4,5,6,7,8,Inf];
Ndependence_clicks;
Ndependence_launch_solvers;
Ndependence_make_plots;
clear all;