diff plot.sh @ 17:170f04992ccb default tip

add work log that result of count time
author taiki
date Wed, 14 Jan 2015 19:30:55 +0900
parents 88d663a7bad5
children
line wrap: on
line diff
--- a/plot.sh	Tue Jan 13 15:22:56 2015 +0900
+++ b/plot.sh	Wed Jan 14 19:30:55 2015 +0900
@@ -1,19 +1,23 @@
 #!/bin/sh
+
+fsname="two_node_gfs2"
+fstitle="Two node GFS2"
+
 gnuplot <<EOF
 # postscript形式に指定
 set terminal postscript eps color enhanced
 # "sample.eps"として出力
-#set output "two_node_gfs2.pdf"
-set output "| epstopdf -f -o=two_node_gfs2.pdf"
-# x軸名を"SN ration"に設定
+#set output "${fsname}.pdf"
+set output "| epstopdf -f -o=${fsname}.pdf"
+# x軸名を設定
 set xlabel "Environment"
-# y軸名を"SER"に設定
-set ylabel "mb/s"
+# y軸名を設定
+set ylabel "ops/s"
 # titleの設定
-set title "two node gfs2 benchmark"
+set title "${fstitle} benchmark"
 # x,yの範囲をどこからどこまでにするのか
 # set xrange [ 0 : 200 ]
-set yrange [ 0 : 200 ]
+set yrange [ 0 : 10000 ]
 # set yrange [ 0 : 0.25]
 # x,y軸のメモリを何ずつ刻むか
 # set xtics 1
@@ -21,5 +25,5 @@
 # plot  "error_rate_graph.data" w l
 set boxwidth 0.5 relative
 set style fill solid border lc rgb "black"
-plot "on_two_node_gfs2.txt" using 0:2:xtic(1) with boxes notitle
+plot "on_${fsname}.txt" using 0:2:xtic(1) with boxes notitle
 EOF