-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Swinging door handles the end of the data stream correctly (#72)
* Fix xml doc comment for ICompression.ArchiveIncoming * Tests * Renamed state field * Store the previous snapshot too, as it's need for considering the penultimate datapoint * Handle the archiving of the penultimate point
- Loading branch information
Showing
12 changed files
with
287 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
reset | ||
|
||
#set terminal dumb | ||
|
||
set grid | ||
set title 'Swinging door compression -- Trend3' | ||
set xlabel 'Time' | ||
set ylabel 'Value' | ||
|
||
set xrange [0:10] | ||
set yrange [-3:6] | ||
|
||
set style line 2 lc rgb 'green' pt 9 # triangle | ||
|
||
#set datafile separator ";" | ||
|
||
# replot is also possible for the second plot | ||
plot 'trend3_raw.csv' with linespoints title 'raw', \ | ||
'trend3_compressed.csv' with points ls 2 title 'compressed' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#x y | ||
1 0 | ||
4 5 | ||
5 -2 | ||
6 5 | ||
8 3 | ||
9 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
reset | ||
|
||
#set terminal dumb | ||
|
||
set grid | ||
set title 'Swinging door compression -- Trend3 (minimal repro)' | ||
set xlabel 'Time' | ||
set ylabel 'Value' | ||
|
||
set xrange [4:10] | ||
set yrange [-3:6] | ||
|
||
set style line 2 lc rgb 'green' pt 9 # triangle | ||
|
||
#set datafile separator ";" | ||
|
||
# replot is also possible for the second plot | ||
plot 'trend3_mini_raw.csv' with linespoints title 'raw', \ | ||
'trend3_mini_compressed.csv' with points ls 2 title 'compressed' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#x y | ||
5 -2 | ||
6 5 | ||
8 3 | ||
9 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#x y | ||
5 -2 | ||
6 5 | ||
7 4 | ||
8 3 | ||
9 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#x y | ||
1 0 | ||
2 1 | ||
3 2 | ||
4 5 | ||
5 -2 | ||
6 5 | ||
7 4 | ||
8 3 | ||
9 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.