]> rtime.felk.cvut.cz Git - hubacji1/iamcar2.git/commitdiff
Add plot iterations statistics script
authorJiri Vlasak <hubacji1@fel.cvut.cz>
Fri, 18 Oct 2019 10:37:15 +0000 (12:37 +0200)
committerJiri Vlasak <hubacji1@fel.cvut.cz>
Fri, 18 Oct 2019 10:40:38 +0000 (12:40 +0200)
scripts/plot_statistics_iterations.pl [new file with mode: 0644]

diff --git a/scripts/plot_statistics_iterations.pl b/scripts/plot_statistics_iterations.pl
new file mode 100644 (file)
index 0000000..89547fb
--- /dev/null
@@ -0,0 +1,11 @@
+# To run with folder name (aka planner) at x axis, use:
+#
+#       gnuplot -e "lx=2" plot_statistics_iterations.pl
+#
+if (!exists('lx')) lx=3
+  plot 'stats' u 11:xticlabels(lx) w histeps lc rgb '#ff0000' t 'Avg iterations [-]'
+replot 'stats' u 12:xticlabels(lx) w histeps lc rgb '#ffaaaa' t 'Stddev iterations [-]'
+replot 'stats' u 13:xticlabels(lx) w histeps lc rgb '#0000ff' t 'Median iterations [-]'
+replot 'stats' u 14:xticlabels(lx) w histeps lc rgb '#aaaaff' t 'Max iterations [-]'
+replot 'stats' u 15:xticlabels(lx) w histeps lc rgb '#aaaaff' t 'Min iterations [-]'
+pause -1