view plot.sh @ 15:88d663a7bad5

add file for gnuplot
author taiki
date Tue, 13 Jan 2015 15:22:27 +0900
parents
children 170f04992ccb
line wrap: on
line source

#!/bin/sh
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 xlabel "Environment"
# y軸名を"SER"に設定
set ylabel "mb/s"
# titleの設定
set title "two node gfs2 benchmark"
# x,yの範囲をどこからどこまでにするのか
# set xrange [ 0 : 200 ]
set yrange [ 0 : 200 ]
# set yrange [ 0 : 0.25]
# x,y軸のメモリを何ずつ刻むか
# set xtics 1
# set ytics 0.05
# 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
EOF