]> rtime.felk.cvut.cz Git - frescor/fwp.git/commitdiff
Modified plot of admtest comparion graph to produce PDF and have better readability.
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 30 Jan 2008 09:53:45 +0000 (10:53 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 30 Jan 2008 09:53:45 +0000 (10:53 +0100)
fwp/fwp_manager/tests/plot [new file with mode: 0755]
fwp/fwp_manager/tests/plot_sat

diff --git a/fwp/fwp_manager/tests/plot b/fwp/fwp_manager/tests/plot
new file mode 100755 (executable)
index 0000000..56e070c
--- /dev/null
@@ -0,0 +1 @@
+../../_compiled/bin-tests/adm_utilization > data && gnuplot plot_sat | ps2pdf - admutil_comp.pdf
index 8fc5d342d641f0dbf8fd441c1f3b7436b4d45f58..f7b072a0c3b6dde0bd111d087dc2c4b5a781b11b 100644 (file)
@@ -1,7 +1,7 @@
-# Usage: adm_utilization > data; gnuplot plot_sat
+# Usage: adm_utilization > data; gnuplot plot_sat|ps2pdf admutil_comp.pdf
 
-set terminal postscript eps color
-set output "admutil_comp.eps"
+set terminal postscript color landscape
+#set output "admutil_comp.eps"
 
 set style line 1 lt 1 lc rgb "red"
 set style line 2 lt 1 lc rgb "green"
@@ -17,6 +17,6 @@ set ylabel "AC_BE bandwidth [kbps]"
 plot  "data" index 0 with lines lt 1 lw 3 lc rgb "red"   title "utilization test: AC_VO changed",\
       "data" index 1 with lines lt 1 lw 3 lc rgb "green" title "utilization test: AC_VI changed",\
       "data" index 2 with lines lt 1 lw 3 lc rgb "blue"  title "utilization test: AC_BE changed",\
-      "VO_packet_size_graph" using 1:3 with lines lw 3 lt 2 lc rgb "red"   title "reality: AC_VO changed",\
-      "VI_packet_size_graph" using 1:3 with lines lw 3 lt 2 lc rgb "green" title "reality: AC_VI changed",\
-      "BE_packet_size_graph" using 1:3 with lines lw 3 lt 2 lc rgb "blue"  title "reality: AC_BE changed"
+      "VO_packet_size_graph" using 1:3 with points lc rgb "red"   title "reality: AC_VO changed",\
+      "VI_packet_size_graph" using 1:3 with points lc rgb "green" title "reality: AC_VI changed",\
+      "BE_packet_size_graph" using 1:3 with points lc rgb "blue"  title "reality: AC_BE changed"