diff --git a/plotting.py b/plotting.py index 06b56ee..fcd8421 100644 --- a/plotting.py +++ b/plotting.py @@ -37,5 +37,6 @@ plt.figure(figsize=[6,6]) plt.plot(time_data, ping_data) plt.plot(time_data, jitter_data) plt.legend(['ping', 'jitter']) +plt.gcf().autofmt_xdate() plt.savefig("ping_jitter.svg") diff --git a/speedtesting.py b/speedtesting.py index 760655b..acb5ede 100644 --- a/speedtesting.py +++ b/speedtesting.py @@ -29,6 +29,7 @@ def write_data(filename, data): writer.writerow(data) now = datetime.datetime.now() +print("Starting speedtest " + now.strftime("%H:%M:%S")) date = now.strftime("%d-%m-%Y") filename_lan = 'results_' + date + '_lan.csv' filename_wlan = 'results_' + date + '_wlan.csv'