view paper/figures/GPU/fft/bar_plot.sh @ 76:4a4d4ef632d0

forget DS_Store
author Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp>
date Mon, 23 Feb 2015 17:09:12 +0900
parents 7956856211c5
children
line wrap: on
line source

#!/bin/sh

fsname="fft_firefly"
fstitle="FFT"

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 : 6 ]
set yrange [ 0 : 500 ]
# 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