From 37b8ffb2192b11f857e07a88e505b45f765adef6 Mon Sep 17 00:00:00 2001 From: Jiri Vlasak Date: Tue, 10 Sep 2019 11:35:35 +0200 Subject: [PATCH] Add scripts for plotting results Plot the results of `print_json_objects_scenaris_statistics.py` script. --- c.pl | 7 +++++++ e.pl | 3 +++ t.pl | 7 +++++++ 3 files changed, 17 insertions(+) create mode 100755 c.pl create mode 100755 e.pl create mode 100755 t.pl diff --git a/c.pl b/c.pl new file mode 100755 index 0000000..2db6911 --- /dev/null +++ b/c.pl @@ -0,0 +1,7 @@ +#!/usr/bin/gnuplot +set logscale y + plot 'inits' u 2:7 w histeps lc rgb '#ff0000' t 'Max cost [m]' +replot 'inits' u 2:10 w histeps lc rgb '#ffaaaa' t 'Stddev cost [m]' +replot 'inits' u 2:9 w histeps lc rgb '#00aa00' t 'Avg cost [m]' +replot 'inits' u 2:8 w histeps lc rgb '#aaddaa' t 'Min cost [m]' +pause -1 diff --git a/e.pl b/e.pl new file mode 100755 index 0000000..ab42a3a --- /dev/null +++ b/e.pl @@ -0,0 +1,3 @@ +#!/usr/bin/gnuplot + plot 'inits' u 2:1 w histeps lc rgb '#ff0000' t 'Error [%]' +pause -1 diff --git a/t.pl b/t.pl new file mode 100755 index 0000000..cfa9c06 --- /dev/null +++ b/t.pl @@ -0,0 +1,7 @@ +#!/usr/bin/gnuplot +set logscale y + plot 'inits' u 2:3 w histeps lc rgb '#ff0000' t 'Max time [s]' +replot 'inits' u 2:6 w histeps lc rgb '#ffaaaa' t 'Stddev time [s]' +replot 'inits' u 2:5 w histeps lc rgb '#00aa00' t 'Avg time [s]' +replot 'inits' u 2:4 w histeps lc rgb '#aaddaa' t 'Min time [s]' +pause -1 -- 2.39.2