From: Michal Sojka Date: Sat, 11 Dec 2010 17:21:21 +0000 (+0100) Subject: Fix generation of pdf graphs X-Git-Tag: fix-allnoconfig~224 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/commitdiff_plain/f32de48759fc2e9ffceb6c667e62967073ef27e1?ds=inline Fix generation of pdf graphs --- diff --git a/gw-tests/lib.sh b/gw-tests/lib.sh index 7f0d9fd..f6f4439 100644 --- a/gw-tests/lib.sh +++ b/gw-tests/lib.sh @@ -53,8 +53,8 @@ _plot() { echo "set terminal x11 enhanced; $(< plot.gp)" | gnuplot -persist fi I='' - echo 'set terminal pdfcairo color enhanced;' \ - "$(< plot.gp)" | gnuplot > ${testname}$I.pdf + echo "set terminal pdfcairo solid color enhanced; set output \"${testname}$I.pdf\";" \ + "$(< plot.gp)" | gnuplot echo 'set terminal pngcairo color enhanced size 750,525 font ",10" ;' \ "$(< plot.gp)" | gnuplot > ${testname}$I.png mkdir -p thumb