view paper/figures/GPU/fft/bar_plot.sh @ 20:2483927789ed

add file
author Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp>
date Fri, 13 Feb 2015 09:30:02 +0900
parents
children 417431560eed
line wrap: on
line source

#!/bin/sh

fsname="fft_dragonfly"
fstitle="FFT Benchmark"

gnuplot <<EOF

# postscript形式に指定
set terminal postscript eps color enhanced

# "sample.eps"として出力
set output "${fsname}.eps"
#set output "| epstopdf -f -o=${fsname}.pdf"

# x軸名を設定
set xlabel "Architecture"

# y軸名を設定
set ylabel "ms"

# titleの設定
set title "${fstitle} benchmark"

# x,yの範囲をどこからどこまでにするのか
 set xrange [ 0 : 4 ]
set yrange [ 0 : 350 ]
# set yrange [ 0 : 0.25]

# x,y軸のメモリを何ずつ刻むか
# set xtics 1
# set ytics 0.05

# graph を plot する
# plot  "error_rate_graph.data" w l
set boxwidth 0.5 relative
set style fill solid

plot "${fsname}.txt" using 1:3:xtic(2) with boxes lw 2 lc rgb "#808db5" notitle#

EOF