-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplot_D1_dynamic_static.gnu
More file actions
47 lines (29 loc) · 1.21 KB
/
plot_D1_dynamic_static.gnu
File metadata and controls
47 lines (29 loc) · 1.21 KB
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
set colorsequence podo
set terminal pngcairo size 1200,800
p = 2
type ="A"
taille ="100"
#Type, Size, Instance, Budget, PopSize, Info, nb_evaluation, AVG_dist, MaxMin, PR, Diversification
set xlabe "Budget"
set ylabel "AVG minimum distance"
info=90
pop_size=100
div="FALSE"
set output "D1_budget_dyn_stat_Div0.png"
set multiplot layout 2,2 columnsfirst rowsfirst title " {/:Bold=15 Compare Static & Dynamic algorithm varying the Population size }"
do for[i=0:2]{
plot x0 = y0 = NaN, "./Data/Evaluation".p."/".type."/".taille."/K_30.eval" u ($5==pop_size && $3==i && $6==info && stringcolumn(11) eq div?(y0=$8,x0=$4) : x0):(y0) w lp lc rgb "red" pt i lw 1.5 title "T".i." (static)", x0 = y0 = NaN, "./Data/Evaluation".p."/".type."/".taille."/K_25.evalS" u ($3==i && $6==info && stringcolumn(11) eq div?(y0=$8,x0=$4) : x0):(y0) w lp lc rgb "blue" pt i lw 1.5 title "T".i." (dynamic)"
}
unset multiplot
unset output
div = 0
popsize = 100
i = 5
set output "test3D.png"
set terminal pngcairo size 1200,800
set dgrid3d 410,410
set hidden3d
set xlabel "D1"
set ylabel "Info"
splot x0 = y0 = z0 = NaN, "K_20.eval" u ($5==popsize && $11==div && $3==i ?(x0=$8,y0=$6,z0=$4) : x0=x0,y0=y0,z0=z0) w lines
unset output