Added averages plotting

This commit is contained in:
2025-11-19 00:24:15 +01:00
parent 413441b15e
commit c036e40fbe
6 changed files with 127 additions and 75 deletions

View File

@@ -15,12 +15,18 @@ The script creates an output file `results_dd_mm_yyyy.csv`. The first line of th
## Plotting the Data
The `plotting.py` script plots the data of a given csv file.
The `plot_concatenate.py` script plots the data of all given csv files in one big plot.
The `plot_average.py` script plots the data of all given csv files by flooring the times
to the nearest hour and then averaging all them producing a plot for the averages at every hour.
### Usage
Execute the command: `.python/bin/python plotting.csv path/to/results_1.csv [path/to/results_2.csv...]`.
Execute the command: `.python/bin/python plot_concatenate.csv path/to/results_1.csv path/to/results_2.csv ...`.
_or_
Execute the command: `.python/bin/python plot_average.csv path/to/results_1.csv path/to/results_2.csv ...`.
### Output
It creates a `bandwidth.svg` and a `ping_jitter.svg`, with the plot for up and down and the plot for ping and jitter respectively. The x-Axis shows the the time when the data was recorded and the y-Axis shows Mbps or ms.
It creates a `bandwidth.svg` and a `ping_jitter.svg`, with the plot for up and down and the plot for ping and jitter respectively. The x-Axis shows the time when the data was recorded and the y-Axis shows Mbps or ms.