File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change 1
1
system (' tail -n 1000 log > visualize-power-last.dat' )
2
- system (' tail -n 1000 log | ./make_stats 7 20 > visualize-power-last-candlesticks.dat' )
2
+ system (' tail -n 1000 log | ./make_stats 8 20 > visualize-power-last-candlesticks.dat' )
3
3
4
4
set key autotitle columnhead
5
5
set xlabel " time (UTC)"
@@ -11,20 +11,16 @@ set grid x y mx my lt 1 lc rgb 'gray90'
11
11
set datafile separator " ,"
12
12
set xrange [*:* ]
13
13
# set yrange [*:*]
14
- set yrange [-20 : 20 .0 ]
14
+ set yrange [-30 : 30 .0 ]
15
15
16
16
# voltage: columns 8,11
17
+ # power: columns 9,13
17
18
plot \
18
- ' visualize-power-last.dat' using 1 :8 with lines lw 8.0 lc rgb ' #ffffff00' notitle , \
19
+ ' visualize-power-last.dat' using 1 :9 with lines lw 8.0 lc rgb ' #ffffff00' notitle , \
19
20
' visualize-power-last-candlesticks.dat' using 1 :3 :2 :6 :5 with candlesticks lw 2.0 lc rgb ' #00ffaa00' notitle whiskerbars, \
20
- ' visualize-power-last.dat' using ($1 - 0.3 ):11 with lines lw 3.0 lc rgb ' #00f70000' title ' Hann moving avg.' , \
21
+ ' visualize-power-last.dat' using ($1 - 0.3 ):13 with lines lw 3.0 lc rgb ' #00f70000' title ' Hann moving avg.' , \
21
22
' visualize-power-last-candlesticks.dat' using 1 :4 with dots lw 8.0 lc rgb ' #00000000' notitle
22
23
23
- # power: columns 9,13
24
- # plot \
25
- # 'visualize-power-last.dat' using 1:9 with lines lw 0.5 lc 11 title 'power corrected', \
26
- # 'visualize-power-last.dat' using 1:13 with lines lw 4.0 lc 14 title 'Hann moving avg.'
27
-
28
24
pause 1
29
25
replot
30
26
reread
You can’t perform that action at this time.
0 commit comments