-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgnuplot.txt
More file actions
157 lines (148 loc) · 4.42 KB
/
gnuplot.txt
File metadata and controls
157 lines (148 loc) · 4.42 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
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
compile
gcc -o main random.c gaussdouble.c display.c -lm -msse4.1
gcc -o boxmuller boxmuller.c gaussdouble.c display.c -lm -mavx2 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -----> Intel optimization
clear
reset
set terminal postscript eps enhanced color font 'Helvetica,20'
set output 'histogram_gaussdouble_uniformrandom.eps'
set xlabe "Standard deviation"
set ylabel "Frequency of ocurrence"
set key off
set border 3
set yzeroaxis
set boxwidth 0.05 absolute
set style fill solid 1.0 noborder
bin_width=0.1
bin_number(x)=floor(x/bin_width)
rounded(x)=bin_width*(bin_number(x) +0.5)
plot 'plot.out' u (rounded($1)):(1) smooth frequency with boxes
clear
reset
set terminal postscript eps enhanced color font 'Helvetica,20'
set output 'histogram_gaussdouble_UNI.eps'
set xlabe "Standard deviation"
set ylabel "Frequency of ocurrence"
set key off
set border 3
set yzeroaxis
set boxwidth 0.05 absolute
set style fill solid 1.0 noborder
bin_width=0.1
bin_number(x)=floor(x/bin_width)
rounded(x)=bin_width*(bin_number(x) +0.5)
plot 'plot.out' u (rounded($1)):(1) smooth frequency with boxes
clear
reset
set terminal postscript eps enhanced color font 'Helvetica,20'
set output 'histogram_ziggurat.eps'
set xlabe "Standard deviation"
set ylabel "Frequency of ocurrence"
set key off
set border 3
set yzeroaxis
set boxwidth 0.05 absolute
set style fill solid 1.0 noborder
bin_width=0.1
bin_number(x)=floor(x/bin_width)
rounded(x)=bin_width*(bin_number(x) +0.5)
plot 'plot.out' u (rounded($1)):(1) smooth frequency with boxes
clear
reset
set terminal postscript eps enhanced color font 'Helvetica,20'
set output 'histogram_ziggurat_SSE.eps'
set xlabe "Standard deviation"
set ylabel "Frequency of ocurrence"
set key off
set border 3
set yzeroaxis
set boxwidth 0.05 absolute
set style fill solid 1.0 noborder
bin_width=0.1
bin_number(x)=floor(x/bin_width)
rounded(x)=bin_width*(bin_number(x) +0.5)
plot 'plot.out' u (rounded($1)):(1) smooth frequency with boxes
clear
reset
set terminal postscript eps enhanced color font 'Helvetica,20'
set output 'histogram_boxmuller_SSE.eps'
set xlabe "Standard deviation"
set ylabel "Frequency of ocurrence"
set key off
set border 3
set yzeroaxis
set boxwidth 0.05 absolute
set style fill solid 1.0 noborder
bin_width=0.1
bin_number(x)=floor(x/bin_width)
rounded(x)=bin_width*(bin_number(x) +0.5)
plot 'plot.out' u (rounded($1)):(1) smooth frequency with boxes
clear
reset
set terminal postscript eps enhanced color font 'Helvetica,20'
set output 'histogram_boxmuller_AVX.eps'
set xlabe "Standard deviation"
set ylabel "Frequency of ocurrence"
set key off
set border 3
set yzeroaxis
set boxwidth 0.05 absolute
set style fill solid 1.0 noborder
bin_width=0.1
bin_number(x)=floor(x/bin_width)
rounded(x)=bin_width*(bin_number(x) +0.5)
plot 'plot.out' u (rounded($1)):(1) smooth frequency with boxes
clear
reset
set terminal postscript eps enhanced color font 'Helvetica,20'
set output 'histogram_ziggurat_AVX.eps'
set xlabe "Standard deviation"
set ylabel "Frequency of ocurrence"
set key off
set border 3
set yzeroaxis
set boxwidth 0.05 absolute
set style fill solid 1.0 noborder
bin_width=0.1
bin_number(x)=floor(x/bin_width)
rounded(x)=bin_width*(bin_number(x) +0.5)
plot 'plot.out' u (rounded($1)):(1) smooth frequency with boxes
clear
reset
set terminal postscript eps enhanced color font 'Helvetica,15'
set output 'histogram_ziggurat_comp.eps'
set multiplot layout 1,3
set xlabe "Standard deviation"
set ylabel "Frequency of ocurrence"
unset ytics
set key off
set border 3
set boxwidth 0.05 absolute
set style fill solid 1.0 noborder
bin_width=0.1
bin_number(x)=floor(x/bin_width)
rounded(x)=bin_width*(bin_number(x) +0.5)
plot 'plot.out' u (rounded($1)):(1) smooth frequency with boxes
set ylaber notitle
plot 'plot4.out' u (rounded($1)):(1) smooth frequency with boxes
plot 'plot8.out' u (rounded($1)):(1) smooth frequency with boxes
unset multiplot
clear
reset
set terminal postscript eps enhanced color font 'Helvetica,15'
set output 'histogram_boxmuller_comp.eps'
set multiplot layout 1,3
set xlabe "Standard deviation"
set ylabel "Frequency of ocurrence"
unset ytics
set key off
set border 3
set boxwidth 0.05 absolute
set style fill solid 1.0 noborder
bin_width=0.1
bin_number(x)=floor(x/bin_width)
rounded(x)=bin_width*(bin_number(x) +0.5)
plot 'plot.out' u (rounded($1)):(1) smooth frequency with boxes
set ylaber notitle
plot 'plot4.out' u (rounded($1)):(1) smooth frequency with boxes
plot 'plot8.out' u (rounded($1)):(1) smooth frequency with boxes
unset multiplot