annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15
88d663a7bad5 add file for gnuplot
taiki
parents:
diff changeset
1 #!/bin/sh
17
170f04992ccb add work log that result of count time
taiki
parents: 15
diff changeset
2
170f04992ccb add work log that result of count time
taiki
parents: 15
diff changeset
3 fsname="two_node_gfs2"
170f04992ccb add work log that result of count time
taiki
parents: 15
diff changeset
4 fstitle="Two node GFS2"
170f04992ccb add work log that result of count time
taiki
parents: 15
diff changeset
5
15
88d663a7bad5 add file for gnuplot
taiki
parents:
diff changeset
6 gnuplot <<EOF
88d663a7bad5 add file for gnuplot
taiki
parents:
diff changeset
7 # postscript形式に指定
88d663a7bad5 add file for gnuplot
taiki
parents:
diff changeset
8 set terminal postscript eps color enhanced
88d663a7bad5 add file for gnuplot
taiki
parents:
diff changeset
9 # "sample.eps"として出力
17
170f04992ccb add work log that result of count time
taiki
parents: 15
diff changeset
10 #set output "${fsname}.pdf"
170f04992ccb add work log that result of count time
taiki
parents: 15
diff changeset
11 set output "| epstopdf -f -o=${fsname}.pdf"
170f04992ccb add work log that result of count time
taiki
parents: 15
diff changeset
12 # x軸名を設定
15
88d663a7bad5 add file for gnuplot
taiki
parents:
diff changeset
13 set xlabel "Environment"
17
170f04992ccb add work log that result of count time
taiki
parents: 15
diff changeset
14 # y軸名を設定
170f04992ccb add work log that result of count time
taiki
parents: 15
diff changeset
15 set ylabel "ops/s"
15
88d663a7bad5 add file for gnuplot
taiki
parents:
diff changeset
16 # titleの設定
17
170f04992ccb add work log that result of count time
taiki
parents: 15
diff changeset
17 set title "${fstitle} benchmark"
15
88d663a7bad5 add file for gnuplot
taiki
parents:
diff changeset
18 # x,yの範囲をどこからどこまでにするのか
88d663a7bad5 add file for gnuplot
taiki
parents:
diff changeset
19 # set xrange [ 0 : 200 ]
17
170f04992ccb add work log that result of count time
taiki
parents: 15
diff changeset
20 set yrange [ 0 : 10000 ]
15
88d663a7bad5 add file for gnuplot
taiki
parents:
diff changeset
21 # set yrange [ 0 : 0.25]
88d663a7bad5 add file for gnuplot
taiki
parents:
diff changeset
22 # x,y軸のメモリを何ずつ刻むか
88d663a7bad5 add file for gnuplot
taiki
parents:
diff changeset
23 # set xtics 1
88d663a7bad5 add file for gnuplot
taiki
parents:
diff changeset
24 # set ytics 0.05
88d663a7bad5 add file for gnuplot
taiki
parents:
diff changeset
25 # plot "error_rate_graph.data" w l
88d663a7bad5 add file for gnuplot
taiki
parents:
diff changeset
26 set boxwidth 0.5 relative
88d663a7bad5 add file for gnuplot
taiki
parents:
diff changeset
27 set style fill solid border lc rgb "black"
17
170f04992ccb add work log that result of count time
taiki
parents: 15
diff changeset
28 plot "on_${fsname}.txt" using 0:2:xtic(1) with boxes notitle
15
88d663a7bad5 add file for gnuplot
taiki
parents:
diff changeset
29 EOF