Mercurial > hg > Papers > 2015 > yuhi-master
view paper/figures/GPU/data_parallel/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 | 8d128c5feb47 |
children |
line wrap: on
line source
#!/bin/sh fsname="dataparallel_bench" fstitle="WordCount" 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" set multiplot # 下側plot # x,yの範囲をどこからどこまでにするのか set xrange [ 0 : 12 ] set yrange [ 0 : 100 ] # set yrange [ 0 : 0.25] # x,y軸のメモリを何ずつ刻むか # set xtics 0.5 # set ytics 0.05 set tmargin at screen 0.7 set bmargin at screen 0.09 # 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# # 上側plot set yrange [800:7000] set xrange [ 0 : 12 ] unset ylabel unset xlabel unset xtics set title "${fstitle} benchmark" #set xtics format "" set tmargin at screen 0.98 set bmargin at screen 0.728 set boxwidth 0.5 relative set style fill solid plot "${fsname}.txt" using 1:3 with boxes lw 2 lc rgb "#808db5" notitle# EOF