forked from thestrangek/Drowsiness-Detection-System
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplotRaw.plot
25 lines (24 loc) · 781 Bytes
/
plotRaw.plot
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
set title 'Raw Values';
set xlabel 'time (s)';
set ylabel 'EEG values';
set ytics nomirror
set yrange [-2000:2000];
#xmin = 0;
#xmid = 1;
#xmax = 2;
#set xrange[xmin:xmax];
#set xtics (xmin,xmid,xmax);
set grid x,y;
show grid;
plot "data.bin" binary format="%double%double%double%double%double%double%double%double%double%double%double%double%double%double%double" using 1:2 title 'Raw values' with lines lw 1, \
# "data.bin" binary format="%double%double%double%double%double%double%double%double%double%double%double%double%double%double%double" using 1:3 title 'Sum' with lines lw 1, \
count = 0;
window = 1;
while(1) {
#set xrange [xmin+0.4:xmax+0.4];
#xmin = xmin + 0.4;
#xmax = xmax + 0.4;
#xmid = xmid + 0.4;
#set xtics (xmin,xmid,xmax);
replot;
}