]> rtime.felk.cvut.cz Git - can-benchmark.git/commitdiff
Generate monochromatic pdfs
authorMichal Sojka <sojka@os.inf.tu-dresden.de>
Mon, 26 Sep 2011 12:36:38 +0000 (14:36 +0200)
committerMichal Sojka <sojka@os.inf.tu-dresden.de>
Mon, 26 Sep 2011 12:36:38 +0000 (14:36 +0200)
gw-tests/lib.sh

index 13004e3a031e2f09a9bd8311aad175e4730d2f7a..5ecf2360c391dbd527af897ebbd6e07710c3fc66 100644 (file)
@@ -61,10 +61,10 @@ _plot() {
            echo "set terminal x11 enhanced; $(< plot$i.gp)" | gnuplot -persist
        fi
        test "$(gnuplot --version)" = "gnuplot 4.2 patchlevel 5 " && continue
-       echo "set terminal pdfcairo solid color enhanced; " \
+       echo "set terminal pdfcairo dashed mono enhanced; " \
             "set output \"graph$i.pdf\";" \
             "set pointsize 0.5;" \
-           "$(< plot.$igp)" | gnuplot
+           "$(< plot$i.gp)" |sed -e 's/lc [0-9]//'| gnuplot
        echo 'set terminal pngcairo color enhanced size 750,525 font ",10" ;' \
            "$(< plot$i.gp)" | gnuplot > graph$i.png
        convert -resize 150x105 -gamma 0.5 -quality 90 -type Palette -depth 8 graph$i.png tgraph$i.png